Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110.4 kB / 16.41 MB, free: 6.406 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.001068/0.001068, allocations: 190.7 kB / 17.35 MB, free: 5.691 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.09 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.847/2.847, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 71.83 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004828/1.187, allocations: 2.421 MB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002921/1.19, allocations: 1.586 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/1.19, allocations: 7.938 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008236/1.191, allocations: 172.3 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005698/1.192, allocations: 155.4 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/1.192, allocations: 179.5 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004251/1.193, allocations: 223.3 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/1.193, allocations: 117 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/1.193, allocations: 91.62 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/1.194, allocations: 107.6 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/1.194, allocations: 8 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/1.194, allocations: 215.6 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/1.194, allocations: 67.86 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/1.195, allocations: 75.59 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006013/1.195, allocations: 296.8 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.195, allocations: 4 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.014e-06/1.195, allocations: 3.938 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.425e-06/1.195, allocations: 4 kB / 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.0009424/1.196, allocations: 479.1 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.196, allocations: 8.031 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/1.197, allocations: 84.64 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/1.197, allocations: 243.9 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/1.197, allocations: 8.656 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/1.198, allocations: 12.38 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/1.198, allocations: 295.6 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.198, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/1.198, allocations: 11.98 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/1.198, allocations: 16.22 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/1.199, allocations: 220.4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/1.201, allocations: 1.595 MB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/1.201, allocations: 323.2 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/1.201, allocations: 65.69 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.201, allocations: 0 / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/1.201, allocations: 38.56 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/1.201, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006353/1.202, allocations: 244.4 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.202, allocations: 81.11 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/1.202, allocations: 212.1 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/1.202, allocations: 29.7 kB / 1.177 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.202, allocations: 159.8 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/1.202, allocations: 35.45 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/1.203, allocations: 49.7 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.203, allocations: 322.8 kB / 1.177 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.203, allocations: 84.8 kB / 1.177 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.203, allocations: 155.1 kB / 1.177 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/1.203, allocations: 238.9 kB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.203, allocations: 0 / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005263/1.204, allocations: 281 kB / 1.178 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.204, allocations: 7.938 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.204, allocations: 4 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.204, allocations: 4 kB / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/1.204, allocations: 59.83 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.204, allocations: 4.375 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.205, allocations: 23.98 kB / 1.178 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/1.205, allocations: 15.98 kB / 1.178 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002248/1.205, allocations: 170.2 kB / 1.178 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001859/1.205, allocations: 152 kB / 1.178 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000308/1.205, allocations: 223.7 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/1.205, allocations: 4 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004675/1.206, allocations: 253.4 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.206, allocations: 4 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.206, allocations: 4 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/1.206, allocations: 4 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.206, allocations: 51.91 kB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.206, allocations: 11.88 kB / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/1.206, allocations: 23.91 kB / 1.179 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/1.206, allocations: 12 kB / 1.179 GB, free: 7.266 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.0001388/1.207, allocations: 196.3 kB / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/1.207, allocations: 15.94 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/1.207, allocations: 143 kB / 1.179 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.207, allocations: 7.938 kB / 1.179 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.207, allocations: 0 / 1.179 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.207, allocations: 100.9 kB / 1.179 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/1.207, allocations: 4 kB / 1.179 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.207, allocations: 19.97 kB / 1.179 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/1.207, allocations: 11.98 kB / 1.179 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003149/1.208, allocations: 288.1 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003102/1.208, allocations: 401.7 kB / 1.18 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.244e-05/1.208, allocations: 52.67 kB / 1.18 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001788/1.208, allocations: 160.8 kB / 1.18 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of Backend: time 4.2e-07/1.208, allocations: 0 / 1.18 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.21, allocations: 411.6 kB / 1.181 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001338/1.211, allocations: 0.7731 MB / 1.181 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of Templates: time 0.009162/1.22, allocations: 3.994 MB / 1.185 GB, free: 0.6211 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches