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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009726, allocations: 98.88 kB / 16.02 MB, free: 76 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.001223/0.001224, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.526/1.526, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 443.2 MB / 0.7181 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 7.625 kB / 0.8801 GB, free: 42.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3002, allocations: 155.2 MB / 1.032 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02352/0.3238, allocations: 19.64 MB / 1.051 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.3369, allocations: 7.487 MB / 1.058 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.339, allocations: 55.81 kB / 1.058 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3401, allocations: 365.3 kB / 1.059 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.3428, allocations: 0.9185 MB / 1.059 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.3463, allocations: 1.318 MB / 1.061 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007337/0.3536, allocations: 6.449 MB / 1.067 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.3658, allocations: 7.519 MB / 1.074 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.3684, allocations: 1.249 MB / 1.076 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.3713, allocations: 1.877 MB / 1.077 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.3717, allocations: 176 kB / 1.078 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.3734, allocations: 0.8267 MB / 1.078 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.3748, allocations: 1.337 MB / 1.08 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.3765, allocations: 1.382 MB / 1.081 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.3816, allocations: 5.155 MB / 1.086 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3816, allocations: 0 / 1.086 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.088e-06/0.3817, allocations: 0 / 1.086 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001518/0.3818, allocations: 0 / 1.086 GB, free: 12.85 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.005796/0.3876, allocations: 2.443 MB / 1.088 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3877, allocations: 12.03 kB / 1.088 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.3908, allocations: 0.6766 MB / 1.089 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.3935, allocations: 1.536 MB / 1.091 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.3937, allocations: 218.1 kB / 1.091 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.3942, allocations: 284.4 kB / 1.091 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009339/0.4035, allocations: 5.059 MB / 1.096 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.306e-05/0.4037, allocations: 15.84 kB / 1.096 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.404, allocations: 120 kB / 1.096 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.4043, allocations: 204.6 kB / 1.096 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007717/0.412, allocations: 4.189 MB / 1.1 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.4422, allocations: 23.03 MB / 1.123 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.4454, allocations: 1.731 MB / 1.125 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.4473, allocations: 1.122 MB / 1.126 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.4475, allocations: 105.7 kB / 1.126 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.4476, allocations: 47.22 kB / 1.126 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 4.248e-06/0.4476, allocations: 0 / 1.126 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.007536/0.4552, allocations: 4.005 MB / 1.13 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4553, allocations: 149 kB / 1.13 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.4566, allocations: 0.8448 MB / 1.131 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.4567, allocations: 41.7 kB / 1.131 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000869/0.4576, allocations: 1.17 MB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.458, allocations: 307.7 kB / 1.132 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.4582, allocations: 101.7 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4584, allocations: 414.7 kB / 1.133 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4597, allocations: 0.795 MB / 1.134 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.4615, allocations: 1.295 MB / 1.135 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.4647, allocations: 2.147 MB / 1.137 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.4648, allocations: 8 kB / 1.137 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003724/0.4685, allocations: 2.18 MB / 1.139 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004838/0.469, allocations: 0.5021 MB / 1.139 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.469, allocations: 16 kB / 1.14 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/0.4691, allocations: 20 kB / 1.14 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.4707, allocations: 407.3 kB / 1.14 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.555e-05/0.4708, allocations: 31.86 kB / 1.14 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.4721, allocations: 203.2 kB / 1.14 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.4723, allocations: 63.98 kB / 1.14 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4723, allocations: 7.984 kB / 1.14 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002867/0.4752, allocations: 1.765 MB / 1.142 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.4752, allocations: 16 kB / 1.142 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.4752, allocations: 20 kB / 1.142 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.4765, allocations: 363.4 kB / 1.142 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.49e-05/0.4766, allocations: 23.94 kB / 1.142 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4776, allocations: 159.5 kB / 1.142 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.4777, allocations: 59.98 kB / 1.143 GB, free: 15.74 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.001983/0.4797, allocations: 1.173 MB / 1.144 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.4801, allocations: 98.78 kB / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.4833, allocations: 1.85 MB / 1.146 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.4833, allocations: 12 kB / 1.146 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4833, allocations: 4 kB / 1.146 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4834, allocations: 3.984 kB / 1.146 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.4979, allocations: 9.581 MB / 1.155 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/0.498, allocations: 11.94 kB / 1.155 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.4993, allocations: 323.4 kB / 1.155 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.661e-05/0.4994, allocations: 23.92 kB / 1.155 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.4995, allocations: 24 kB / 1.155 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/0.4995, allocations: 19.94 kB / 1.155 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.4995, allocations: 16.16 kB / 1.155 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.5029, allocations: 2.421 MB / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008153/0.5037, allocations: 379.6 kB / 1.158 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.504, allocations: 35.98 kB / 1.158 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.5051, allocations: 135.8 kB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.5053, allocations: 91.61 kB / 1.158 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.5054, allocations: 36 kB / 1.158 GB, free: 15.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001081/0.5065, allocations: 0.5927 MB / 1.159 GB, free: 14.48 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5065, allocations: 3.938 kB / 1.159 GB, free: 14.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003391/0.5099, allocations: 0.75 MB / 1.16 GB, free: 13.73 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.0003174/0.5102, allocations: 142.9 kB / 1.16 GB, free: 13.58 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004548/0.5148, allocations: 2.835 MB / 1.163 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.5148, allocations: 0 / 1.163 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.5163, allocations: 0.9197 MB / 1.163 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.5196, allocations: 287 kB / 1.164 GB, free: 9.562 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5312, allocations: 6.668 MB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.5343, allocations: 2.199 MB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.5349, allocations: 103.4 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of SimCode: time 1.422e-06/0.5349, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of Templates: time 0.04314/0.5781, allocations: 27.41 MB / 1.199 GB, free: 5.027 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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