Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.833/1.833, allocations: 291.7 MB / 306.8 MB, free: 7.742 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000961/0.0009613, allocations: 186.2 kB / 375.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.7 MB / 0.6538 GB, free: 13.7 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.88 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 12 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7637, allocations: 118.1 MB / 1.011 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003541/0.7673, allocations: 1.961 MB / 1.013 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.7686, allocations: 0.7348 MB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.7688, allocations: 2.688 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.7689, allocations: 23.59 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.7692, allocations: 45.27 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.7694, allocations: 35.64 kB / 1.014 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.7696, allocations: 165.5 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.7699, allocations: 196.8 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.7701, allocations: 57.94 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.7702, allocations: 66.02 kB / 1.014 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.7703, allocations: 5.875 kB / 1.014 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.7704, allocations: 27.77 kB / 1.014 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.7704, allocations: 31.42 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.7705, allocations: 48.11 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.7707, allocations: 123.4 kB / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.7707, allocations: 0 / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7707, allocations: 0 / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7707, allocations: 0 / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006554/0.7714, allocations: 469.7 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7714, allocations: 7.625 kB / 1.015 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.7716, allocations: 32.91 kB / 1.015 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.7718, allocations: 210 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.7719, allocations: 39.7 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.7719, allocations: 18.67 kB / 1.015 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.7722, allocations: 145.2 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7722, allocations: 3.938 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.7723, allocations: 7.359 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.7723, allocations: 6.172 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.7725, allocations: 89.27 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.7733, allocations: 0.6422 MB / 1.016 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.7735, allocations: 65.45 kB / 1.016 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.038e-05/0.7736, allocations: 25.8 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.7736, allocations: 3.938 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.7738, allocations: 156.9 kB / 1.016 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.7738, allocations: 0 / 1.016 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003439/0.7742, allocations: 170.6 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.7742, allocations: 136.2 kB / 1.016 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.7744, allocations: 182 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7744, allocations: 27.7 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.7745, allocations: 141.2 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.7745, allocations: 21.7 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.7745, allocations: 5.969 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.7746, allocations: 321.4 kB / 1.017 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.7747, allocations: 41.39 kB / 1.017 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.7748, allocations: 114.1 kB / 1.017 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.7751, allocations: 234.7 kB / 1.017 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7751, allocations: 3.781 kB / 1.017 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002977/0.7754, allocations: 242.5 kB / 1.018 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.7754, allocations: 61.84 kB / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7754, allocations: 9 kB / 1.018 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.7755, allocations: 5.75 kB / 1.018 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.7756, allocations: 34.92 kB / 1.018 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7756, allocations: 4.25 kB / 1.018 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.7757, allocations: 27.62 kB / 1.018 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.7758, allocations: 6 kB / 1.018 GB, free: 54.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.7759, allocations: 169.5 kB / 1.018 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.7759, allocations: 19.53 kB / 1.018 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.776, allocations: 19.62 kB / 1.018 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.776, allocations: 0 / 1.018 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.776, allocations: 0 / 1.018 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.776, allocations: 4.531 kB / 1.018 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.7761, allocations: 207.8 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7761, allocations: 0 / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.7762, allocations: 13.23 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7762, allocations: 0.75 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.7763, allocations: 9.344 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7763, allocations: 1.062 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7763, allocations: 2.469 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.7766, allocations: 224.9 kB / 1.019 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.7767, allocations: 89.23 kB / 1.019 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.7767, allocations: 12.69 kB / 1.019 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.7768, allocations: 12.62 kB / 1.019 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.7769, allocations: 12.92 kB / 1.019 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.7769, allocations: 3.625 kB / 1.019 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.777, allocations: 131.1 kB / 1.019 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.777, allocations: 1.281 kB / 1.019 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002292/0.7773, allocations: 31.22 kB / 1.019 GB, free: 53.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001093/0.7774, allocations: 108.4 kB / 1.019 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.7777, allocations: 219.9 kB / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7777, allocations: 0 / 1.019 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.7778, allocations: 113.3 kB / 1.019 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.778, allocations: 16.59 kB / 1.019 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.7786, allocations: 338.2 kB / 1.02 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.7788, allocations: 0.7138 MB / 1.02 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.516e-05/0.7788, allocations: 23.53 kB / 1.02 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.7789, allocations: 10.31 kB / 1.02 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.7789, allocations: 0 / 1.02 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.00352/0.7824, allocations: 1.205 MB / 1.021 GB, free: 52.71 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)