Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001022/0.001022, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008029/0.008029, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8.625 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01874/0.2799, allocations: 15.39 MB / 1.074 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008438/0.2883, allocations: 4.763 MB / 1.078 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.2897, allocations: 55.69 kB / 1.079 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009618/0.2906, allocations: 262 kB / 1.079 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.2928, allocations: 0.6924 MB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.2946, allocations: 0.6589 MB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005503/0.3001, allocations: 5.268 MB / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008045/0.3082, allocations: 5.836 MB / 1.091 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.31, allocations: 1.097 MB / 1.092 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.3121, allocations: 1.506 MB / 1.093 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.3123, allocations: 144 kB / 1.094 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3137, allocations: 0.7409 MB / 1.094 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.3147, allocations: 1.064 MB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.3159, allocations: 1.191 MB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.3202, allocations: 4.883 MB / 1.101 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3202, allocations: 0 / 1.101 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3202, allocations: 0 / 1.101 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.87e-05/0.3203, allocations: 0 / 1.101 GB, free: 9.113 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003721/0.324, allocations: 2.178 MB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3241, allocations: 15.97 kB / 1.103 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004675/0.3245, allocations: 370.5 kB / 1.104 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/0.3284, allocations: 0.8407 MB / 1.105 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.3307, allocations: 1.494 MB / 1.106 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.3308, allocations: 181.1 kB / 1.106 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003945/0.3312, allocations: 228.4 kB / 1.106 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00627/0.3375, allocations: 4.177 MB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.3375, allocations: 7.938 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.3378, allocations: 95.98 kB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.338, allocations: 168.5 kB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005518/0.3435, allocations: 3.644 MB / 1.114 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.3601, allocations: 16.56 MB / 1.131 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.3635, allocations: 2.295 MB / 1.133 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.3643, allocations: 0.5858 MB / 1.133 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.3644, allocations: 93.66 kB / 1.133 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3645, allocations: 47.06 kB / 1.133 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.3645, allocations: 3.938 kB / 1.133 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.006276/0.3708, allocations: 3.448 MB / 1.137 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.3709, allocations: 111.5 kB / 1.137 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.3723, allocations: 1.022 MB / 1.138 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.3724, allocations: 41.7 kB / 1.138 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007192/0.3731, allocations: 1.095 MB / 1.139 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.3734, allocations: 280.1 kB / 1.139 GB, free: 36 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.3735, allocations: 117.7 kB / 1.139 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3737, allocations: 414.7 kB / 1.14 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009009/0.3747, allocations: 0.6207 MB / 1.14 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.3759, allocations: 1.189 MB / 1.142 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.3782, allocations: 1.88 MB / 1.143 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.3782, allocations: 8 kB / 1.143 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003142/0.3813, allocations: 2.03 MB / 1.145 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.3814, allocations: 12 kB / 1.145 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.3814, allocations: 20 kB / 1.145 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.3818, allocations: 164 kB / 1.146 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3829, allocations: 347.4 kB / 1.146 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.044e-05/0.383, allocations: 39.86 kB / 1.146 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/0.3839, allocations: 131.7 kB / 1.146 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.384, allocations: 71.98 kB / 1.146 GB, free: 8.441 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.3854, allocations: 0.9771 MB / 1.147 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.3856, allocations: 114.7 kB / 1.147 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.3878, allocations: 1.237 MB / 1.148 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3878, allocations: 8 kB / 1.148 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3878, allocations: 4 kB / 1.148 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3878, allocations: 3.984 kB / 1.148 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005671/0.3935, allocations: 3.819 MB / 1.152 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3935, allocations: 8 kB / 1.152 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.3941, allocations: 159.8 kB / 1.152 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.3945, allocations: 135.6 kB / 1.152 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.3946, allocations: 24 kB / 1.153 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.3946, allocations: 7.938 kB / 1.153 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.3946, allocations: 11.92 kB / 1.153 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.3966, allocations: 1.465 MB / 1.154 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.3971, allocations: 287.8 kB / 1.154 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.3973, allocations: 20 kB / 1.154 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000663/0.398, allocations: 75.8 kB / 1.154 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3981, allocations: 68.36 kB / 1.154 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3982, allocations: 20 kB / 1.154 GB, free: 15.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009761/0.3991, allocations: 0.6953 MB / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3992, allocations: 0 / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001427/0.4006, allocations: 391.9 kB / 1.155 GB, free: 14.66 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002371/0.403, allocations: 2.051 MB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002421/0.4054, allocations: 1.714 MB / 1.159 GB, free: 10.74 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4054, allocations: 0 / 1.159 GB, free: 10.74 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/0.4063, allocations: 0.8757 MB / 1.16 GB, free: 9.785 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.408, allocations: 255.9 kB / 1.16 GB, free: 9.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.4286, allocations: 14.35 MB / 1.174 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.4307, allocations: 1.92 MB / 1.176 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001202/0.4319, allocations: 449.4 kB / 1.177 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009159/0.4329, allocations: 0.7063 MB / 1.177 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of SimCode: time 8.92e-07/0.4329, allocations: 4 kB / 1.177 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.4809, allocations: 26.44 MB / 1.203 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.4812, allocations: 257.9 kB / 1.203 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.608, allocations: 0 / 1.203 GB, free: 12.88 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches