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.007796/0.007796, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001716/0.001716, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.06, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005311/1.066, allocations: 2.631 MB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003092/1.069, allocations: 1.575 MB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/1.069, allocations: 3.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008768/1.07, allocations: 179.3 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004665/1.07, allocations: 147.4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/1.071, allocations: 180.9 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/1.071, allocations: 223.2 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/1.072, allocations: 121 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/1.072, allocations: 83.73 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/1.072, allocations: 107.6 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/1.072, allocations: 12 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/1.072, allocations: 219.6 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/1.072, allocations: 63.86 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/1.073, allocations: 71.61 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/1.073, allocations: 303.5 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/1.073, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.958e-06/1.073, allocations: 7.922 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.073, allocations: 0 / 1.172 GB, free: 13.9 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.0007789/1.074, allocations: 482.7 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.074, allocations: 12.92 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007593/1.075, allocations: 84.73 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/1.075, allocations: 238.3 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.075, allocations: 8.656 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/1.075, allocations: 16.38 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/1.076, allocations: 291.6 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.076, allocations: 0 / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/1.076, allocations: 11.98 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/1.076, allocations: 16.23 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/1.076, allocations: 232.4 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/1.078, allocations: 1.595 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/1.078, allocations: 323.2 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/1.078, allocations: 61.67 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/1.078, allocations: 8 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/1.078, allocations: 30.56 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/1.078, allocations: 0 / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006391/1.079, allocations: 252.9 kB / 1.176 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.079, allocations: 77.11 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/1.079, allocations: 208 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/1.079, allocations: 29.7 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.08, allocations: 156.1 kB / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/1.08, allocations: 39.69 kB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/1.08, allocations: 53.64 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.08, allocations: 335 kB / 1.177 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/1.08, allocations: 76.81 kB / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.08, allocations: 163 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/1.081, allocations: 238.9 kB / 1.177 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.081, allocations: 4 kB / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004916/1.081, allocations: 277.1 kB / 1.177 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.081, allocations: 8 kB / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.081, allocations: 384 / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.081, allocations: 11.94 kB / 1.177 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/1.081, allocations: 55.91 kB / 1.178 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.081, allocations: 4 kB / 1.178 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/1.082, allocations: 23.91 kB / 1.178 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/1.082, allocations: 12 kB / 1.178 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000215/1.082, allocations: 170.3 kB / 1.178 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001819/1.082, allocations: 155.9 kB / 1.178 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002903/1.082, allocations: 227.8 kB / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.082, allocations: 0 / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004243/1.083, allocations: 249.2 kB / 1.178 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.083, allocations: 8 kB / 1.178 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.083, allocations: 4 kB / 1.178 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/1.083, allocations: 4 kB / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/1.083, allocations: 47.91 kB / 1.178 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.083, allocations: 12.28 kB / 1.178 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.083, allocations: 24.11 kB / 1.178 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/1.083, allocations: 16 kB / 1.178 GB, free: 7.078 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.0001235/1.083, allocations: 192.2 kB / 1.179 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/1.084, allocations: 15.91 kB / 1.179 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/1.084, allocations: 139 kB / 1.179 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.084, allocations: 3.938 kB / 1.179 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.084, allocations: 4 kB / 1.179 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/1.084, allocations: 7.984 kB / 1.179 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/1.085, allocations: 0.7274 MB / 1.18 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.085, allocations: 0 / 1.18 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/1.085, allocations: 27.97 kB / 1.18 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.085, allocations: 4 kB / 1.18 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/1.085, allocations: 11.94 kB / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.085, allocations: 0 / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.085, allocations: 7.938 kB / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/1.085, allocations: 378.5 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.085, allocations: 109 kB / 1.18 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/1.085, allocations: 8 kB / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.086, allocations: 7.984 kB / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/1.086, allocations: 15.88 kB / 1.18 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.086, allocations: 11.98 kB / 1.18 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000174/1.086, allocations: 156.9 kB / 1.18 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.086, allocations: 0 / 1.18 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005401/1.086, allocations: 72 kB / 1.18 GB, free: 5.039 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.0001828/1.087, allocations: 111.1 kB / 1.18 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005457/1.087, allocations: 283.9 kB / 1.181 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.087, allocations: 0 / 1.181 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/1.087, allocations: 65.14 kB / 1.181 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/1.088, allocations: 33.02 kB / 1.181 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/1.089, allocations: 426.2 kB / 1.181 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/1.089, allocations: 0.7324 MB / 1.182 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002236/1.089, allocations: 85.42 kB / 1.182 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/1.089, allocations: 19.44 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of SimCode: time 6.71e-07/1.089, allocations: 0 / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of Templates: time 0.005303/1.094, allocations: 1.926 MB / 1.184 GB, free: 1.316 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/jenkins/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