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.001445/0.001445, allocations: 105 kB / 16.41 MB, free: 6.457 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.001551/0.001551, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.377/1.377, 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 10.1.1-maint.10.0.x/package.mo): time 2.796/2.796, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.98 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9631/0.9645, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00464/0.9692, allocations: 2.433 MB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.9721, allocations: 1.586 MB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.9724, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.9733, allocations: 167.3 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.9738, allocations: 155.3 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.9744, allocations: 183.5 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.9749, allocations: 215.3 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.9752, allocations: 121 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.9754, allocations: 87.67 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.9758, allocations: 107.6 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.9758, allocations: 12 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.9763, allocations: 211.7 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.9764, allocations: 59.86 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.9765, allocations: 83.59 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.9772, allocations: 304.8 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9772, allocations: 3.938 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9772, allocations: 0 / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.9772, allocations: 0 / 1.173 GB, free: 14.14 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.0009339/0.9782, allocations: 479.2 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.9782, allocations: 8.031 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.9791, allocations: 84.64 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.9795, allocations: 243.9 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.9795, allocations: 8.656 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.9796, allocations: 12.38 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.9802, allocations: 303.5 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.9802, allocations: 3.938 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.9802, allocations: 8 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/0.9803, allocations: 16.22 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.9808, allocations: 220.4 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.9829, allocations: 1.595 MB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.9833, allocations: 319.3 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.9834, allocations: 69.62 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.9834, allocations: 0 / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9835, allocations: 34.56 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.9835, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000646/0.9841, allocations: 240.5 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.9842, allocations: 85.3 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.9845, allocations: 211.9 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.9845, allocations: 25.7 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.9846, allocations: 163.8 kB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.9847, allocations: 35.45 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.9848, allocations: 49.7 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9849, allocations: 322.8 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.9851, allocations: 88.73 kB / 1.177 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.9853, allocations: 153.3 kB / 1.177 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.9857, allocations: 242.9 kB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9857, allocations: 0 / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005252/0.9862, allocations: 277.1 kB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.9862, allocations: 4 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9863, allocations: 4 kB / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.9863, allocations: 7.938 kB / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.9866, allocations: 52.28 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/0.9866, allocations: 11.98 kB / 1.178 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.9868, allocations: 23.92 kB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.9869, allocations: 11.98 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000218/0.9871, allocations: 168 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002019/0.9873, allocations: 158.2 kB / 1.178 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003/0.9876, allocations: 219.8 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.9876, allocations: 4 kB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004684/0.9881, allocations: 253.2 kB / 1.179 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9881, allocations: 4 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9881, allocations: 4 kB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.9882, allocations: 4 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.9884, allocations: 55.91 kB / 1.179 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.9884, allocations: 8.406 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.9886, allocations: 19.92 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.9887, allocations: 20.33 kB / 1.179 GB, free: 7.344 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.0001329/0.9888, allocations: 195 kB / 1.179 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.9889, allocations: 15.81 kB / 1.179 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.9891, allocations: 151 kB / 1.179 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9892, allocations: 7.922 kB / 1.179 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9892, allocations: 0 / 1.179 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.9892, allocations: 0 / 1.179 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.9902, allocations: 0.7273 MB / 1.18 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.9902, allocations: 4.344 kB / 1.18 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.9904, allocations: 31.92 kB / 1.18 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.9904, allocations: 4 kB / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.9904, allocations: 4.047 kB / 1.18 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.9904, allocations: 4 kB / 1.18 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.9904, allocations: 7.984 kB / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.9908, allocations: 378.2 kB / 1.18 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.9909, allocations: 104.9 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.9909, allocations: 8 kB / 1.181 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.9912, allocations: 11.98 kB / 1.181 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.9912, allocations: 23.86 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.9912, allocations: 4 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001833/0.9914, allocations: 152.9 kB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9914, allocations: 0 / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005579/0.992, allocations: 75.98 kB / 1.181 GB, free: 5.297 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.0001941/0.9922, allocations: 107.2 kB / 1.181 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.9928, allocations: 289.1 kB / 1.181 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.9928, allocations: 0 / 1.181 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.9929, allocations: 59.84 kB / 1.181 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.9934, allocations: 29.83 kB / 1.181 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.9943, allocations: 456.2 kB / 1.182 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.9946, allocations: 0.7401 MB / 1.182 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.9947, allocations: 27.42 kB / 1.182 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9947, allocations: 0 / 1.182 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of Templates: time 0.005183/0.9999, allocations: 2.35 MB / 1.185 GB, free: 1.176 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