Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001682/0.001682, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 469.4 MB / 0.7428 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 59.91 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8637, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004797/0.8685, allocations: 2.634 MB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.8721, allocations: 1.574 MB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.8723, allocations: 4 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.8733, allocations: 171.3 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006163/0.8739, allocations: 151.3 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.8746, allocations: 187.5 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.875, allocations: 219.3 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.8754, allocations: 117 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.8756, allocations: 91.67 kB / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.876, allocations: 107.6 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.876, allocations: 12 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.8765, allocations: 215.6 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.8766, allocations: 55.88 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.8768, allocations: 83.53 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.8775, allocations: 304.8 kB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8775, allocations: 0 / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8775, allocations: 0 / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.8775, allocations: 4 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001111/0.8787, allocations: 483.1 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.8787, allocations: 8.625 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/0.8796, allocations: 84.64 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.88, allocations: 238.6 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.8801, allocations: 8.656 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.8801, allocations: 12.38 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.8807, allocations: 299.5 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.8807, allocations: 4 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.8807, allocations: 4 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.8808, allocations: 20.17 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.8813, allocations: 224.4 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.8834, allocations: 1.599 MB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.8838, allocations: 319.3 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.8839, allocations: 65.67 kB / 1.23 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.8839, allocations: 4 kB / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.884, allocations: 38.5 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.884, allocations: 0 / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0006402/0.8846, allocations: 252.7 kB / 1.23 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.8847, allocations: 81.11 kB / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.885, allocations: 203.6 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.885, allocations: 29.7 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.8852, allocations: 159.6 kB / 1.231 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.8852, allocations: 35.45 kB / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.8853, allocations: 53.59 kB / 1.231 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8855, allocations: 326.8 kB / 1.231 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.8857, allocations: 72.81 kB / 1.231 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.8859, allocations: 163 kB / 1.231 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.8862, allocations: 242.9 kB / 1.231 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8863, allocations: 0 / 1.231 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004989/0.8868, allocations: 265.3 kB / 1.232 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8868, allocations: 7.984 kB / 1.232 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8868, allocations: 7.938 kB / 1.232 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8868, allocations: 4 kB / 1.232 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.8871, allocations: 59.84 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.8871, allocations: 4 kB / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.8874, allocations: 28.25 kB / 1.232 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.8874, allocations: 8 kB / 1.232 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002345/0.8876, allocations: 168.1 kB / 1.232 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001996/0.8878, allocations: 159.8 kB / 1.232 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003067/0.8882, allocations: 227.8 kB / 1.232 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.8882, allocations: 4 kB / 1.232 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004576/0.8886, allocations: 241.5 kB / 1.233 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.8887, allocations: 8.062 kB / 1.233 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8887, allocations: 4 kB / 1.233 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.8887, allocations: 4 kB / 1.233 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.8889, allocations: 56.03 kB / 1.233 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.8889, allocations: 11.88 kB / 1.233 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.8892, allocations: 19.92 kB / 1.233 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.8892, allocations: 16 kB / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001447/0.8894, allocations: 200.2 kB / 1.233 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.8894, allocations: 15.81 kB / 1.233 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.8897, allocations: 139 kB / 1.233 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.8897, allocations: 7.938 kB / 1.233 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8897, allocations: 0 / 1.233 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.8898, allocations: 104.9 kB / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.8899, allocations: 7.938 kB / 1.233 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.8901, allocations: 19.97 kB / 1.233 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.8901, allocations: 3.938 kB / 1.233 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003155/0.8905, allocations: 300.2 kB / 1.233 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003206/0.8908, allocations: 393.8 kB / 1.234 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.627e-05/0.8909, allocations: 47.95 kB / 1.234 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001802/0.8911, allocations: 161.1 kB / 1.234 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of Backend: time 3.81e-07/0.8911, allocations: 4 kB / 1.234 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.8923, allocations: 417.1 kB / 1.234 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009794/0.8933, allocations: 0.7709 MB / 1.235 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of Templates: time 0.008191/0.9015, allocations: 3.988 MB / 1.239 GB, free: 15 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches