Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001161/0.001161, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001305/0.001305, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 60.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.017, allocations: 151.7 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004183/1.021, allocations: 2.622 MB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002535/1.023, allocations: 1.582 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/1.024, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006368/1.024, allocations: 179.3 kB / 1.172 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/1.025, allocations: 143.3 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/1.025, allocations: 185.2 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/1.025, allocations: 219.3 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/1.026, allocations: 125 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/1.026, allocations: 79.69 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/1.026, allocations: 115.6 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/1.026, allocations: 12 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/1.026, allocations: 211.7 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/1.026, allocations: 63.86 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/1.026, allocations: 75.61 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/1.027, allocations: 304.9 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.027, allocations: 4 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.293e-06/1.027, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.789e-06/1.027, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 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.0006661/1.028, allocations: 479.1 kB / 1.174 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.028, allocations: 8.922 kB / 1.174 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007457/1.028, allocations: 88.64 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/1.029, allocations: 232 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.029, allocations: 8.656 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/1.029, allocations: 16.36 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/1.029, allocations: 303.5 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.029, allocations: 0 / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/1.029, allocations: 11.94 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/1.029, allocations: 12.23 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/1.03, allocations: 228.4 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/1.032, allocations: 1.599 MB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/1.032, allocations: 315.3 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/1.032, allocations: 73.72 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/1.032, allocations: 8.141 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.032, allocations: 34.56 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/1.032, allocations: 0 / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0005389/1.033, allocations: 248.9 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.033, allocations: 77.11 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/1.033, allocations: 207.9 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/1.033, allocations: 25.7 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/1.033, allocations: 159.6 kB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.033, allocations: 39.44 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/1.033, allocations: 53.69 kB / 1.177 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.033, allocations: 327 kB / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.034, allocations: 76.75 kB / 1.178 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/1.034, allocations: 163 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/1.034, allocations: 242.8 kB / 1.178 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.034, allocations: 4 kB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000497/1.035, allocations: 269.1 kB / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.035, allocations: 7.984 kB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/1.035, allocations: 4.375 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.035, allocations: 8 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/1.035, allocations: 55.84 kB / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/1.035, allocations: 4.078 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/1.035, allocations: 27.91 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/1.035, allocations: 11.98 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002041/1.035, allocations: 168.1 kB / 1.178 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001877/1.036, allocations: 155.5 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002734/1.036, allocations: 219.8 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/1.036, allocations: 4 kB / 1.179 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004379/1.036, allocations: 253 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.036, allocations: 8 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.036, allocations: 0 / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/1.036, allocations: 8 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/1.037, allocations: 51.91 kB / 1.179 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.037, allocations: 8.344 kB / 1.179 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/1.037, allocations: 27.92 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.037, allocations: 8 kB / 1.179 GB, free: 7.254 MB / 0.9044 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.0001087/1.037, allocations: 192.2 kB / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/1.037, allocations: 19.75 kB / 1.179 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/1.037, allocations: 143 kB / 1.179 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.037, allocations: 3.938 kB / 1.179 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.037, allocations: 4 kB / 1.179 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/1.037, allocations: 104.9 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/1.038, allocations: 8 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/1.038, allocations: 15.97 kB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/1.038, allocations: 4 kB / 1.18 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003329/1.038, allocations: 296.1 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002945/1.038, allocations: 401.7 kB / 1.18 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.064e-05/1.039, allocations: 43.97 kB / 1.18 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001836/1.039, allocations: 160.8 kB / 1.18 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of Backend: time 6.52e-07/1.039, allocations: 0 / 1.18 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.04, allocations: 419.5 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008344/1.041, allocations: 0.7706 MB / 1.182 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of Templates: time 0.007333/1.048, allocations: 3.991 MB / 1.186 GB, free: 0.625 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches