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.009761/0.009761, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001735/0.001735, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004234/1.039, allocations: 2.614 MB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002569/1.041, allocations: 1.581 MB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/1.042, allocations: 6.531 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006942/1.042, allocations: 171.7 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/1.043, allocations: 154.8 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/1.043, allocations: 190.2 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/1.043, allocations: 215 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/1.044, allocations: 119.2 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/1.044, allocations: 90.41 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/1.044, allocations: 103.5 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/1.044, allocations: 12.03 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/1.045, allocations: 209.8 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/1.045, allocations: 66.48 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/1.045, allocations: 79.16 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005405/1.046, allocations: 306 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.046, allocations: 0.7188 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.046, allocations: 0 / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.046, allocations: 0.7969 kB / 1.094 GB, free: 1.934 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.0007231/1.046, allocations: 482.7 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.046, allocations: 9.344 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008687/1.047, allocations: 85.28 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/1.047, allocations: 228.2 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.048, allocations: 15 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/1.048, allocations: 13.22 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/1.048, allocations: 296.3 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.048, allocations: 5.406 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/1.048, allocations: 13.73 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/1.048, allocations: 21.12 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/1.049, allocations: 222 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/1.051, allocations: 1.594 MB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/1.051, allocations: 326.9 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/1.051, allocations: 63.53 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/1.051, allocations: 6.234 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.051, allocations: 43.91 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 4.719e-06/1.051, allocations: 1.312 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007148/1.052, allocations: 246 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/1.052, allocations: 79.11 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/1.052, allocations: 201.6 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.052, allocations: 30.61 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.053, allocations: 154.2 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/1.053, allocations: 40.22 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.053, allocations: 55.19 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.053, allocations: 322.6 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/1.053, allocations: 80.27 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/1.053, allocations: 164.8 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/1.054, allocations: 234.3 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.054, allocations: 1.781 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006727/1.054, allocations: 274.5 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.055, allocations: 6.312 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.055, allocations: 4.516 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.055, allocations: 7.188 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/1.055, allocations: 54.45 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.055, allocations: 4.891 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/1.055, allocations: 21.08 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/1.055, allocations: 10.84 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003142/1.056, allocations: 171 kB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002658/1.056, allocations: 155.7 kB / 1.099 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003757/1.056, allocations: 222.9 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/1.056, allocations: 1.125 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005896/1.057, allocations: 257.6 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.057, allocations: 7.234 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.057, allocations: 4.469 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/1.057, allocations: 8.031 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/1.057, allocations: 50.14 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/1.057, allocations: 9.594 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/1.057, allocations: 23.28 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/1.057, allocations: 9.25 kB / 1.1 GB, free: 13.27 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.0001607/1.058, allocations: 196.3 kB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/1.058, allocations: 14.91 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/1.058, allocations: 149.1 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.058, allocations: 5.984 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.058, allocations: 0 / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.058, allocations: 1.703 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/1.059, allocations: 0.726 MB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.059, allocations: 3.281 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.06, allocations: 22.45 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.06, allocations: 4.125 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.06, allocations: 4.375 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/1.06, allocations: 7.531 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/1.06, allocations: 11.25 kB / 1.101 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/1.06, allocations: 383.6 kB / 1.101 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.06, allocations: 104.8 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/1.06, allocations: 5.156 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.06, allocations: 13.67 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/1.061, allocations: 20.31 kB / 1.101 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/1.061, allocations: 6.969 kB / 1.101 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000256/1.061, allocations: 163.2 kB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.061, allocations: 0 / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006292/1.061, allocations: 65.56 kB / 1.102 GB, free: 11.86 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.0002462/1.062, allocations: 107 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006907/1.062, allocations: 283 kB / 1.102 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.062, allocations: 0.7188 kB / 1.102 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/1.063, allocations: 62.92 kB / 1.102 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/1.063, allocations: 36.19 kB / 1.102 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.064, allocations: 410.3 kB / 1.102 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/1.065, allocations: 0.7379 MB / 1.103 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003178/1.065, allocations: 80.31 kB / 1.103 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/1.065, allocations: 21.8 kB / 1.103 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of SimCode: time 7.12e-07/1.065, allocations: 3.938 kB / 1.103 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.007563/1.073, allocations: 1.941 MB / 1.105 GB, free: 10.45 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/jenkins/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