Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 57.83 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2598, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006608/0.2664, allocations: 4.913 MB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004178/0.2706, allocations: 2.487 MB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006566/0.2713, allocations: 23.81 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.2728, allocations: 405.9 kB / 1.061 GB, free: 412 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2742, allocations: 445.6 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2754, allocations: 402.7 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2766, allocations: 0.9251 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/0.2773, allocations: 350.8 kB / 1.063 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.2779, allocations: 342.6 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.2785, allocations: 342.5 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.2786, allocations: 40 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.2793, allocations: 415 kB / 1.064 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2796, allocations: 171.5 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.28, allocations: 326.2 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.2811, allocations: 0.8721 MB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2812, allocations: 4 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2812, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.2812, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001524/0.2827, allocations: 0.9464 MB / 1.066 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2828, allocations: 8.625 kB / 1.066 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.2829, allocations: 90.7 kB / 1.066 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.2842, allocations: 211.7 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.2849, allocations: 0.4905 MB / 1.067 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2849, allocations: 37.36 kB / 1.067 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.285, allocations: 44.36 kB / 1.067 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.2861, allocations: 0.8485 MB / 1.068 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.2861, allocations: 7.938 kB / 1.068 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.2862, allocations: 20 kB / 1.068 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.2862, allocations: 64.95 kB / 1.068 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.2871, allocations: 0.5695 MB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.2913, allocations: 5.654 MB / 1.074 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.292, allocations: 458.3 kB / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.2923, allocations: 228.7 kB / 1.074 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2923, allocations: 12.45 kB / 1.074 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2924, allocations: 30.56 kB / 1.074 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.2924, allocations: 0 / 1.074 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002531/0.2949, allocations: 1.516 MB / 1.076 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.295, allocations: 59.67 kB / 1.076 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.2955, allocations: 0.4913 MB / 1.076 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.2955, allocations: 33.7 kB / 1.077 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.2957, allocations: 358.8 kB / 1.077 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.2958, allocations: 122.2 kB / 1.077 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.296, allocations: 110.2 kB / 1.077 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2961, allocations: 366.8 kB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.2965, allocations: 201.2 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.2969, allocations: 439.3 kB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/0.2978, allocations: 0.6994 MB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2978, allocations: 0 / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001424/0.2992, allocations: 0.805 MB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.2993, allocations: 8 kB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.2993, allocations: 11.94 kB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.2998, allocations: 160.9 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.3003, allocations: 123.7 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.3037, allocations: 4.34 MB / 1.084 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.3043, allocations: 35.97 kB / 1.084 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.3044, allocations: 31.98 kB / 1.084 GB, free: 6.746 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.3047, allocations: 221.4 kB / 1.084 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.3048, allocations: 59.25 kB / 1.084 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3059, allocations: 0.6012 MB / 1.085 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.306, allocations: 4 kB / 1.085 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.306, allocations: 0 / 1.085 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.306, allocations: 3.984 kB / 1.085 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.308, allocations: 1.258 MB / 1.086 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.308, allocations: 4 kB / 1.086 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.3082, allocations: 55.89 kB / 1.086 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/0.3087, allocations: 148.3 kB / 1.086 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.3087, allocations: 11.94 kB / 1.086 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.3119, allocations: 4.328 MB / 1.091 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3119, allocations: 7.969 kB / 1.091 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.313, allocations: 0.7079 MB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.3132, allocations: 172.3 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.3133, allocations: 8 kB / 1.092 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3136, allocations: 23.97 kB / 1.092 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.3137, allocations: 39.83 kB / 1.092 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3137, allocations: 12 kB / 1.092 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003778/0.3141, allocations: 338.8 kB / 1.092 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3141, allocations: 0 / 1.092 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006699/0.3148, allocations: 144 kB / 1.092 GB, free: 13.99 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.3161, allocations: 1.261 MB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.3177, allocations: 1.076 MB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3178, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.3186, allocations: 0.738 MB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3197, allocations: 213.7 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.326, allocations: 5.248 MB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3265, allocations: 0.9098 MB / 1.101 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003615/0.3269, allocations: 117.3 kB / 1.101 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.3271, allocations: 199.3 kB / 1.102 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of SimCode: time 9.21e-07/0.3271, allocations: 0 / 1.102 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05686/0.384, allocations: 12.69 MB / 1.114 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.39, allocations: 13.08 kB / 1.114 GB, free: 7.172 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches