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.001402/0.001402, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001498/0.001498, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 64.12 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004979/1.019, allocations: 2.625 MB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003063/1.022, allocations: 1.581 MB / 1.213 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/1.022, allocations: 0 / 1.213 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008506/1.023, allocations: 175.3 kB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005242/1.024, allocations: 147.4 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/1.024, allocations: 190.9 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/1.025, allocations: 223.2 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/1.025, allocations: 113 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/1.025, allocations: 91.67 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/1.025, allocations: 103.6 kB / 1.214 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/1.026, allocations: 12 kB / 1.214 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/1.026, allocations: 211.6 kB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/1.026, allocations: 55.88 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/1.026, allocations: 87.59 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/1.027, allocations: 308.7 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.027, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/1.027, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.027, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 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.0008535/1.028, allocations: 479.2 kB / 1.215 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.028, allocations: 8.031 kB / 1.215 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/1.029, allocations: 88.64 kB / 1.215 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/1.029, allocations: 236 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.029, allocations: 12.66 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/1.029, allocations: 12.38 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/1.03, allocations: 303.5 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.03, allocations: 0 / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/1.03, allocations: 11.98 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/1.03, allocations: 20.16 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/1.03, allocations: 220.5 kB / 1.215 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/1.032, allocations: 1.591 MB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/1.033, allocations: 327.2 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/1.033, allocations: 61.69 kB / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/1.033, allocations: 4 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.033, allocations: 34.5 kB / 1.217 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/1.033, allocations: 0 / 1.217 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006112/1.033, allocations: 253 kB / 1.218 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.033, allocations: 81.3 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/1.034, allocations: 207.3 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.034, allocations: 29.7 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.034, allocations: 155.6 kB / 1.218 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/1.034, allocations: 31.47 kB / 1.218 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/1.034, allocations: 53.69 kB / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.034, allocations: 322.8 kB / 1.219 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.034, allocations: 84.75 kB / 1.219 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/1.034, allocations: 160.6 kB / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/1.035, allocations: 235 kB / 1.219 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.035, allocations: 0 / 1.219 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005172/1.035, allocations: 281 kB / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.035, allocations: 4 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.035, allocations: 4 kB / 1.219 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.035, allocations: 8.312 kB / 1.219 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/1.036, allocations: 55.91 kB / 1.219 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.036, allocations: 7.984 kB / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.036, allocations: 19.98 kB / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/1.036, allocations: 8.078 kB / 1.219 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002328/1.036, allocations: 172.1 kB / 1.22 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002053/1.036, allocations: 159.4 kB / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000313/1.037, allocations: 219.8 kB / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.142e-06/1.037, allocations: 4 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004824/1.037, allocations: 257.3 kB / 1.22 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.037, allocations: 8 kB / 1.22 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/1.037, allocations: 0 / 1.22 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.037, allocations: 8 kB / 1.22 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.038, allocations: 47.91 kB / 1.22 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.038, allocations: 11.88 kB / 1.22 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.038, allocations: 28.2 kB / 1.22 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.038, allocations: 15.92 kB / 1.22 GB, free: 0.9492 MB / 0.9356 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.0001296/1.038, allocations: 196.1 kB / 1.22 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/1.038, allocations: 15.81 kB / 1.22 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/1.038, allocations: 143 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.038, allocations: 3.938 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.038, allocations: 0 / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.038, allocations: 4.109 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/1.039, allocations: 0.7316 MB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.039, allocations: 7.984 kB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.039, allocations: 27.98 kB / 1.221 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.039, allocations: 0 / 1.221 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.039, allocations: 4 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.039, allocations: 11.88 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.04, allocations: 4 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/1.04, allocations: 374.3 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/1.04, allocations: 112.9 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/1.04, allocations: 4 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.04, allocations: 7.984 kB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/1.04, allocations: 19.92 kB / 1.222 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.04, allocations: 4 kB / 1.222 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001797/1.04, allocations: 156 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.41e-07/1.04, allocations: 0 / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005416/1.041, allocations: 68 kB / 1.222 GB, free: 14.91 MB / 0.9512 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 (11): * Single equations (assignments): 11 * 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.0001716/1.041, allocations: 119.3 kB / 1.222 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000582/1.042, allocations: 284.1 kB / 1.222 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.042, allocations: 0 / 1.222 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/1.042, allocations: 61.27 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/1.042, allocations: 27.98 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/1.043, allocations: 458.4 kB / 1.223 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/1.043, allocations: 0.7323 MB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/1.044, allocations: 23.44 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/1.044, allocations: 0 / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of Templates: time 0.004665/1.048, allocations: 2.341 MB / 1.226 GB, free: 10.8 MB / 0.9512 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