Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001054/0.001054, allocations: 182 kB / 382.3 MB, free: 14.85 MB / 314.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.598/1.598, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.000921/0.0009213, allocations: 91.16 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 0.9058 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7361, allocations: 119.2 MB / 1.022 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003163/0.7393, allocations: 1.967 MB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.7408, allocations: 1.132 MB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.7409, allocations: 2.062 kB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.7411, allocations: 16.48 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.7413, allocations: 57.69 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.7415, allocations: 47.91 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.7418, allocations: 192.6 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.7421, allocations: 195.1 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.7422, allocations: 59.44 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.7424, allocations: 63.41 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.7424, allocations: 5.781 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.7426, allocations: 59.25 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.7427, allocations: 34.08 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.7428, allocations: 90.38 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.743, allocations: 157.9 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7431, allocations: 0 / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7431, allocations: 2.656 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.7431, allocations: 0 / 1.026 GB, free: 55.29 MB / 0.698 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.000617/0.7437, allocations: 475.7 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.7437, allocations: 8.188 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.744, allocations: 30.11 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.7442, allocations: 206.3 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.7442, allocations: 38.33 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.7443, allocations: 16.59 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.7446, allocations: 147.1 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7446, allocations: 2.906 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.7446, allocations: 6 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.7447, allocations: 7.094 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.7449, allocations: 98.98 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.7457, allocations: 0.6438 MB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.7459, allocations: 65.09 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.746, allocations: 32.62 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.746, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.7462, allocations: 145.8 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7463, allocations: 0 / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004036/0.7467, allocations: 175.3 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.7467, allocations: 132.2 kB / 1.028 GB, free: 53.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.747, allocations: 184.8 kB / 1.029 GB, free: 53.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.747, allocations: 26.89 kB / 1.029 GB, free: 53.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.7471, allocations: 144.5 kB / 1.029 GB, free: 53.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.7471, allocations: 22.36 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.7471, allocations: 0 / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.7472, allocations: 323.1 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.7473, allocations: 44.06 kB / 1.029 GB, free: 52.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.7474, allocations: 110 kB / 1.029 GB, free: 52.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.7476, allocations: 233 kB / 1.029 GB, free: 52.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7476, allocations: 4 kB / 1.029 GB, free: 52.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003321/0.748, allocations: 242.4 kB / 1.03 GB, free: 52.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.748, allocations: 60.3 kB / 1.03 GB, free: 52.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.748, allocations: 7.812 kB / 1.03 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.7481, allocations: 4.766 kB / 1.03 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.7482, allocations: 35.94 kB / 1.03 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.7482, allocations: 2.812 kB / 1.03 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.7484, allocations: 29.52 kB / 1.03 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.7484, allocations: 7.234 kB / 1.03 GB, free: 52.23 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.7485, allocations: 174.2 kB / 1.03 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.7485, allocations: 18.86 kB / 1.03 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.7486, allocations: 21.22 kB / 1.03 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.7486, allocations: 0.8438 kB / 1.03 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7486, allocations: 3.75 kB / 1.03 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7486, allocations: 0 / 1.03 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.7487, allocations: 214.1 kB / 1.03 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7488, allocations: 0 / 1.03 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.7488, allocations: 12.52 kB / 1.03 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7489, allocations: 0 / 1.03 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.7489, allocations: 11.42 kB / 1.03 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7489, allocations: 0 / 1.03 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7489, allocations: 4 kB / 1.03 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.7492, allocations: 216.8 kB / 1.03 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.7493, allocations: 90.61 kB / 1.031 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.7493, allocations: 12.77 kB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.7494, allocations: 20.75 kB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.7495, allocations: 2.438 kB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.7495, allocations: 6.031 kB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001028/0.7496, allocations: 132.8 kB / 1.031 GB, free: 51.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7496, allocations: 0 / 1.031 GB, free: 51.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002274/0.7499, allocations: 36.81 kB / 1.031 GB, free: 51.47 MB / 0.698 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 (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.0001182/0.75, allocations: 104.3 kB / 1.031 GB, free: 51.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.7503, allocations: 228.9 kB / 1.031 GB, free: 51.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7503, allocations: 0 / 1.031 GB, free: 51.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.7505, allocations: 102.8 kB / 1.031 GB, free: 51.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.7507, allocations: 19.95 kB / 1.031 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.7513, allocations: 345.8 kB / 1.031 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.7515, allocations: 0.7145 MB / 1.032 GB, free: 50.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.206e-05/0.7516, allocations: 20.39 kB / 1.032 GB, free: 50.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.7516, allocations: 13.53 kB / 1.032 GB, free: 50.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.9e-07/0.7516, allocations: 3.938 kB / 1.032 GB, free: 50.18 MB / 0.698 GB Notification: Performance of Templates: time 0.003866/0.7555, allocations: 1.233 MB / 1.033 GB, free: 50.08 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)