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.001033/0.001033, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008878/0.008878, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.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.538/2.538, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7597/0.7601, allocations: 142.4 MB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003096/0.7632, allocations: 2.338 MB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.7654, allocations: 1.552 MB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.7656, allocations: 1.406 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.7657, allocations: 19.61 kB / 0.9589 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.7661, allocations: 142.8 kB / 0.959 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.7665, allocations: 168.3 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.7668, allocations: 323.7 kB / 0.9595 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.7673, allocations: 230.7 kB / 0.9597 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.7674, allocations: 75.45 kB / 0.9598 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.7677, allocations: 111.5 kB / 0.9599 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.7677, allocations: 5.5 kB / 0.9599 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.7681, allocations: 243 kB / 0.9601 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.7682, allocations: 61.73 kB / 0.9602 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.255e-05/0.7682, allocations: 94.69 kB / 0.9602 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.7687, allocations: 307.3 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7687, allocations: 0 / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7687, allocations: 0 / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.7687, allocations: 0.7188 kB / 0.9605 GB, free: 3.617 MB / 0.7169 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.0006514/0.7693, allocations: 452.8 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7694, allocations: 8.75 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.7702, allocations: 85.23 kB / 0.9611 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.7705, allocations: 219.4 kB / 0.9613 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.7705, allocations: 14.58 kB / 0.9613 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.7706, allocations: 13.34 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.7711, allocations: 306.1 kB / 0.9616 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7711, allocations: 1.031 kB / 0.9616 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.7711, allocations: 14.23 kB / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.7712, allocations: 20.53 kB / 0.9616 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.7717, allocations: 223.7 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.7734, allocations: 1.598 MB / 0.9634 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.7738, allocations: 322.1 kB / 0.9637 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.7739, allocations: 70.52 kB / 0.9638 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.7739, allocations: 1.094 kB / 0.9638 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.7739, allocations: 36.06 kB / 0.9638 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.7739, allocations: 0 / 0.9638 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005935/0.7745, allocations: 243.7 kB / 0.964 GB, free: 476 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.7746, allocations: 78.52 kB / 0.9641 GB, free: 380 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.7748, allocations: 208.8 kB / 0.9643 GB, free: 220 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.7749, allocations: 26.73 kB / 0.9643 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.7749, allocations: 157.9 kB / 0.9645 GB, free: 36 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.775, allocations: 36.5 kB / 0.9645 GB, free: 4 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.7751, allocations: 27.98 kB / 0.9646 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7752, allocations: 322.6 kB / 0.9649 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.7754, allocations: 73.73 kB / 0.9649 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.7757, allocations: 168.5 kB / 0.9651 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.7761, allocations: 236.7 kB / 0.9653 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7761, allocations: 1.344 kB / 0.9653 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005425/0.7767, allocations: 272.8 kB / 0.9656 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.7768, allocations: 177.1 kB / 0.9657 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7768, allocations: 3.031 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7769, allocations: 8.094 kB / 0.9658 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.7771, allocations: 51.12 kB / 0.9658 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.7772, allocations: 11.64 kB / 0.9658 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.7774, allocations: 20.33 kB / 0.9658 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.7775, allocations: 12.34 kB / 0.9659 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7775, allocations: 4 kB / 0.9659 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004318/0.7779, allocations: 214.2 kB / 0.9661 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7779, allocations: 3.094 kB / 0.9661 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/0.778, allocations: 4.5 kB / 0.9661 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.7782, allocations: 49.62 kB / 0.9661 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.7782, allocations: 4.344 kB / 0.9661 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.7784, allocations: 31.64 kB / 0.9661 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.7784, allocations: 16.7 kB / 0.9662 GB, free: 14.73 MB / 0.7325 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.0001901/0.7786, allocations: 215.2 kB / 0.9664 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.7787, allocations: 10.97 kB / 0.9664 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.779, allocations: 143.6 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.779, allocations: 5.125 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.779, allocations: 5.125 kB / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.779, allocations: 7.984 kB / 0.9665 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.7801, allocations: 0.7236 MB / 0.9672 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7802, allocations: 6.016 kB / 0.9672 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.7803, allocations: 30.61 kB / 0.9673 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.7803, allocations: 4 kB / 0.9673 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.7803, allocations: 3.125 kB / 0.9673 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.7803, allocations: 12.09 kB / 0.9673 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.7803, allocations: 6.656 kB / 0.9673 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.7807, allocations: 378 kB / 0.9677 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7808, allocations: 116 kB / 0.9678 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.7809, allocations: 4 kB / 0.9678 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.7811, allocations: 11.02 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.7811, allocations: 18.05 kB / 0.9678 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.7812, allocations: 5 kB / 0.9678 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002011/0.7814, allocations: 163.3 kB / 0.968 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7814, allocations: 0 / 0.968 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005638/0.782, allocations: 70.19 kB / 0.968 GB, free: 13.13 MB / 0.7325 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.00018/0.7821, allocations: 108.7 kB / 0.9681 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005844/0.7827, allocations: 274.9 kB / 0.9684 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7827, allocations: 0.9688 kB / 0.9684 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.7828, allocations: 65.48 kB / 0.9685 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.7834, allocations: 37.08 kB / 0.9685 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.7842, allocations: 489.6 kB / 0.969 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.7846, allocations: 0.7385 MB / 0.9697 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.7849, allocations: 75.41 kB / 0.9698 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.7849, allocations: 16.28 kB / 0.9698 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.785, allocations: 0 / 0.9698 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.005456/0.7904, allocations: 1.786 MB / 0.9715 GB, free: 10.82 MB / 0.7325 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