Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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: 91.38 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.007992/0.007993, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.293/2.293, allocations: 443.4 MB / 0.7176 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003416, allocations: 9.281 kB / 0.8797 GB, free: 41.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 155.2 MB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01914/0.2406, allocations: 19.65 MB / 1.05 GB, free: 368 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009903/0.2505, allocations: 7.491 MB / 1.058 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.2513, allocations: 47.81 kB / 1.058 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.2519, allocations: 361.4 kB / 1.058 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.2534, allocations: 0.9263 MB / 1.059 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.2556, allocations: 1.317 MB / 1.06 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005071/0.2607, allocations: 6.445 MB / 1.067 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008995/0.2697, allocations: 7.524 MB / 1.074 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.2713, allocations: 1.253 MB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.2732, allocations: 1.877 MB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.2735, allocations: 176 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.2747, allocations: 0.8228 MB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.2758, allocations: 1.337 MB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.2769, allocations: 1.374 MB / 1.081 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.281, allocations: 5.872 MB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.281, allocations: 0 / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2811, allocations: 0 / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.433e-05/0.2811, allocations: 0 / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.003774/0.2849, allocations: 2.439 MB / 1.089 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2849, allocations: 12.03 kB / 1.089 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005218/0.2854, allocations: 442 kB / 1.089 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.288, allocations: 0.6922 MB / 1.09 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.29, allocations: 1.536 MB / 1.091 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.2902, allocations: 218.1 kB / 1.092 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/0.2906, allocations: 292.3 kB / 1.092 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006635/0.2972, allocations: 5.051 MB / 1.097 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.697e-05/0.2973, allocations: 11.84 kB / 1.097 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/0.2976, allocations: 124 kB / 1.097 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.2978, allocations: 208.6 kB / 1.097 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005634/0.3035, allocations: 4.185 MB / 1.101 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/0.3228, allocations: 23.02 MB / 1.124 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.3252, allocations: 1.719 MB / 1.125 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.3267, allocations: 1.131 MB / 1.126 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3268, allocations: 109.6 kB / 1.127 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3268, allocations: 39.22 kB / 1.127 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 2.154e-06/0.3268, allocations: 4 kB / 1.127 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.004896/0.3317, allocations: 4.008 MB / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3318, allocations: 145.1 kB / 1.131 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/0.3327, allocations: 0.8448 MB / 1.132 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.3328, allocations: 41.7 kB / 1.132 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.3334, allocations: 1.162 MB / 1.133 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.3336, allocations: 307.7 kB / 1.133 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3338, allocations: 101.7 kB / 1.133 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.334, allocations: 406.7 kB / 1.133 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.335, allocations: 0.8067 MB / 1.134 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3364, allocations: 1.299 MB / 1.136 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.3388, allocations: 2.147 MB / 1.138 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3389, allocations: 4 kB / 1.138 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002862/0.3417, allocations: 2.179 MB / 1.14 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.342, allocations: 0.4968 MB / 1.14 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.342, allocations: 19.98 kB / 1.14 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3421, allocations: 20 kB / 1.14 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.3435, allocations: 415.3 kB / 1.141 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.3435, allocations: 31.86 kB / 1.141 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.3445, allocations: 207.1 kB / 1.141 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.3446, allocations: 59.98 kB / 1.141 GB, free: 232 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.3446, allocations: 4 kB / 1.141 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002301/0.3469, allocations: 1.768 MB / 1.143 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3469, allocations: 16 kB / 1.143 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3469, allocations: 24.84 kB / 1.143 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3481, allocations: 367.3 kB / 1.143 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.3481, allocations: 31.92 kB / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.3488, allocations: 143.4 kB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.3489, allocations: 59.98 kB / 1.143 GB, free: 13.82 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001412/0.3503, allocations: 1.177 MB / 1.144 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.3505, allocations: 102.7 kB / 1.145 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.3531, allocations: 1.858 MB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3532, allocations: 8 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3532, allocations: 4 kB / 1.146 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.3532, allocations: 7.969 kB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.3639, allocations: 9.576 MB / 1.156 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.3639, allocations: 8 kB / 1.156 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.365, allocations: 320.2 kB / 1.156 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.365, allocations: 16 kB / 1.156 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.3651, allocations: 28 kB / 1.156 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.3651, allocations: 23.92 kB / 1.156 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.3651, allocations: 19.88 kB / 1.156 GB, free: 420 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.3676, allocations: 2.413 MB / 1.158 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.3681, allocations: 383.6 kB / 1.159 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3682, allocations: 31.98 kB / 1.159 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/0.369, allocations: 131.8 kB / 1.159 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.3692, allocations: 95.61 kB / 1.159 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.3693, allocations: 44 kB / 1.159 GB, free: 13.14 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000632/0.3699, allocations: 0.5927 MB / 1.16 GB, free: 12.56 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3699, allocations: 3.938 kB / 1.16 GB, free: 12.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001936/0.3719, allocations: 0.75 MB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002788/0.3747, allocations: 2.993 MB / 1.163 GB, free: 8.641 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003534/0.3782, allocations: 2.834 MB / 1.166 GB, free: 5.812 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3782, allocations: 8 kB / 1.166 GB, free: 5.805 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.3794, allocations: 0.912 MB / 1.167 GB, free: 4.895 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.3821, allocations: 288.8 kB / 1.167 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.4005, allocations: 16.77 MB / 1.184 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.4024, allocations: 2.124 MB / 1.186 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001616/0.404, allocations: 0.7422 MB / 1.186 GB, free: 28 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.405, allocations: 0.8235 MB / 1.187 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/0.405, allocations: 0 / 1.187 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.453/1.858, allocations: 30.41 MB / 1.217 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.858, allocations: 230.3 kB / 1.217 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/4.006, allocations: 0 / 1.217 GB, free: 0.8867 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches