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.001571/0.001571, allocations: 107.7 kB / 16.41 MB, free: 6.473 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.00186/0.00186, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.14 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.493/2.493, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8013, allocations: 151.7 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004415/0.8058, allocations: 2.417 MB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.8086, allocations: 1.586 MB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.8088, allocations: 7.938 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.8096, allocations: 171.3 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.8101, allocations: 151.3 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.8107, allocations: 180.6 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.8111, allocations: 219.3 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.8115, allocations: 117 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.8117, allocations: 95.61 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.812, allocations: 103.6 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.8121, allocations: 16 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.8125, allocations: 211.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.8126, allocations: 63.86 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.8127, allocations: 79.55 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.8133, allocations: 299.5 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8133, allocations: 3.984 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8133, allocations: 3.938 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.8133, allocations: 0 / 1.173 GB, free: 14.1 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.000864/0.8142, allocations: 486.7 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8143, allocations: 12.03 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.8151, allocations: 80.73 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.8154, allocations: 236 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.8155, allocations: 12.66 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.8155, allocations: 20.25 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.816, allocations: 291.6 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.8161, allocations: 4 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.8161, allocations: 8 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.8162, allocations: 24.23 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.8166, allocations: 224.4 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.8185, allocations: 1.599 MB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.8189, allocations: 319.3 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.819, allocations: 65.67 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.8191, allocations: 0 / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8191, allocations: 30.56 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.8191, allocations: 4 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006099/0.8197, allocations: 244.9 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.8198, allocations: 77.11 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.8201, allocations: 212 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.8201, allocations: 25.7 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.8202, allocations: 160.1 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.8202, allocations: 43.88 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.8203, allocations: 53.64 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8204, allocations: 326.8 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.8206, allocations: 76.81 kB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.8208, allocations: 159.1 kB / 1.177 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.8212, allocations: 238.9 kB / 1.178 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8212, allocations: 4 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005102/0.8217, allocations: 265.5 kB / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8217, allocations: 12.06 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8218, allocations: 4 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8218, allocations: 7.938 kB / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.822, allocations: 55.91 kB / 1.178 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.8221, allocations: 7.938 kB / 1.178 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.8223, allocations: 23.91 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.8223, allocations: 12 kB / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002003/0.8225, allocations: 176 kB / 1.178 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001853/0.8227, allocations: 152 kB / 1.178 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002801/0.823, allocations: 227.8 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.823, allocations: 0 / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004539/0.8235, allocations: 253.1 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.8235, allocations: 8 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8235, allocations: 4 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.8235, allocations: 4 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.8238, allocations: 60.31 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.8238, allocations: 11.88 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.824, allocations: 11.98 kB / 1.179 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.824, allocations: 12 kB / 1.179 GB, free: 7.285 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.000108/0.8241, allocations: 192.2 kB / 1.179 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.8242, allocations: 19.94 kB / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.8245, allocations: 143.4 kB / 1.179 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8245, allocations: 11.94 kB / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8245, allocations: 0 / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8245, allocations: 3.984 kB / 1.179 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.8254, allocations: 0.7235 MB / 1.18 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8255, allocations: 4.125 kB / 1.18 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.8256, allocations: 31.91 kB / 1.18 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.8256, allocations: 4 kB / 1.18 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8256, allocations: 8 kB / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.8256, allocations: 4.078 kB / 1.18 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8256, allocations: 3.984 kB / 1.18 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.8259, allocations: 382.6 kB / 1.18 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.826, allocations: 109 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.8261, allocations: 8 kB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.8263, allocations: 11.98 kB / 1.181 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.8263, allocations: 19.86 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.8264, allocations: 12 kB / 1.181 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001865/0.8265, allocations: 148.9 kB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8266, allocations: 0 / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005651/0.8271, allocations: 72 kB / 1.181 GB, free: 5.234 MB / 0.9044 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.0001586/0.8273, allocations: 111.1 kB / 1.181 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.8279, allocations: 281 kB / 1.181 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8279, allocations: 0 / 1.181 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/0.828, allocations: 72.52 kB / 1.181 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.8285, allocations: 29.11 kB / 1.181 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.8292, allocations: 456 kB / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8296, allocations: 0.7363 MB / 1.182 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.8296, allocations: 15.44 kB / 1.182 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.8297, allocations: 4 kB / 1.182 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of Templates: time 0.004939/0.8346, allocations: 2.352 MB / 1.185 GB, free: 1.113 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