Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001598/0.001598, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.001872/0.001872, allocations: 187 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.368/1.368, 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 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8482, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004192/0.8524, allocations: 2.626 MB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.8551, allocations: 1.58 MB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.8553, allocations: 2.719 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.856, allocations: 179.8 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.8564, allocations: 155.8 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.8569, allocations: 186.2 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.8573, allocations: 220 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.8576, allocations: 119 kB / 1.094 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.8578, allocations: 90.47 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.8581, allocations: 99.39 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.8581, allocations: 16.03 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.8586, allocations: 208.6 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.8587, allocations: 66.67 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.8588, allocations: 79.44 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.8593, allocations: 307.3 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8593, allocations: 0 / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8593, allocations: 0.9688 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8593, allocations: 0 / 1.094 GB, free: 1.945 MB / 0.8575 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.000797/0.8601, allocations: 479.3 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8602, allocations: 13.62 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.861, allocations: 84.58 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.8613, allocations: 238.3 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.8613, allocations: 14.64 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.8614, allocations: 13.38 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.862, allocations: 297.5 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.862, allocations: 4.688 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.862, allocations: 10.3 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.8621, allocations: 19.94 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.8626, allocations: 222.9 kB / 1.096 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.8644, allocations: 1.593 MB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.8649, allocations: 319.1 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.865, allocations: 64.06 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.865, allocations: 5.234 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.8651, allocations: 40.41 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.8651, allocations: 4 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006249/0.8657, allocations: 243.8 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.8658, allocations: 78.17 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.8661, allocations: 202.1 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.8661, allocations: 34.55 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.8662, allocations: 153.2 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.8663, allocations: 36.8 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.8664, allocations: 59.11 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8665, allocations: 323.3 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.8667, allocations: 80.02 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.8669, allocations: 162.4 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.8673, allocations: 238.1 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8673, allocations: 1.062 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005662/0.8679, allocations: 267.5 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.8679, allocations: 10.56 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.8679, allocations: 7.969 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.868, allocations: 7.75 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.8682, allocations: 54.14 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.8683, allocations: 5 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.8685, allocations: 21.69 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.8685, allocations: 9.453 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002335/0.8688, allocations: 171.6 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002066/0.869, allocations: 153 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003093/0.8693, allocations: 218.2 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.8693, allocations: 1.5 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004844/0.8698, allocations: 253.8 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.8698, allocations: 10.34 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8698, allocations: 4.578 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.8699, allocations: 8 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.8701, allocations: 54.77 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8701, allocations: 8.984 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.8703, allocations: 22.86 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.8703, allocations: 10.03 kB / 1.1 GB, free: 13.29 MB / 0.8731 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.0001091/0.8705, allocations: 195.6 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.8705, allocations: 14.8 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.8708, allocations: 141.2 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.8708, allocations: 10.22 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8708, allocations: 0 / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8708, allocations: 1.594 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.8719, allocations: 0.727 MB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8719, allocations: 2 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.872, allocations: 23.2 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.872, allocations: 3.703 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.8721, allocations: 7.797 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.8721, allocations: 8.812 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.8721, allocations: 6.297 kB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.8725, allocations: 391.8 kB / 1.102 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/0.8726, allocations: 105.4 kB / 1.102 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.8726, allocations: 4.594 kB / 1.102 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.8728, allocations: 10.75 kB / 1.102 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.8729, allocations: 24.2 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.8729, allocations: 6.688 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001979/0.8731, allocations: 159 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8731, allocations: 0 / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005645/0.8737, allocations: 70.52 kB / 1.102 GB, free: 11.87 MB / 0.8731 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.0001695/0.8738, allocations: 108.4 kB / 1.102 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006287/0.8745, allocations: 284.4 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8745, allocations: 1.188 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.8746, allocations: 61.92 kB / 1.103 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.8751, allocations: 34.95 kB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.8759, allocations: 448.8 kB / 1.103 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.8762, allocations: 0.7365 MB / 1.104 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.8763, allocations: 21.12 kB / 1.104 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.8763, allocations: 4 kB / 1.104 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.005404/0.8817, allocations: 2.334 MB / 1.106 GB, free: 10.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches