Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01488/0.01489, allocations: 88.39 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001885/0.001885, allocations: 173 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.397/2.397, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.858/2.858, allocations: 252.9 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 11.97 kB / 0.6243 GB, free: 21.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2552, allocations: 106.2 MB / 0.7281 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003889/0.2591, allocations: 1.94 MB / 0.73 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.261, allocations: 0.7534 MB / 0.7307 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2612, allocations: 7.938 kB / 0.7307 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2613, allocations: 19.86 kB / 0.7307 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.2616, allocations: 47.84 kB / 0.7308 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.2618, allocations: 35.91 kB / 0.7308 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.262, allocations: 95.73 kB / 0.7309 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.2623, allocations: 189.8 kB / 0.7311 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.2625, allocations: 43.84 kB / 0.7311 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2627, allocations: 59.73 kB / 0.7312 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2627, allocations: 8 kB / 0.7312 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2628, allocations: 23.98 kB / 0.7312 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.2629, allocations: 23.91 kB / 0.7312 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.263, allocations: 49.64 kB / 0.7313 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2632, allocations: 127.9 kB / 0.7314 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2633, allocations: 0 / 0.7314 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.25e-06/0.2633, allocations: 4 kB / 0.7314 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2633, allocations: 3.938 kB / 0.7314 GB, free: 4.664 MB / 0.5573 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.0008813/0.2642, allocations: 478.3 kB / 0.7319 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.2642, allocations: 8.031 kB / 0.7319 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.2643, allocations: 46.56 kB / 0.7319 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.2646, allocations: 19.89 kB / 0.7319 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.265, allocations: 206.9 kB / 0.7321 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.265, allocations: 37.89 kB / 0.7322 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.2651, allocations: 12 kB / 0.7322 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.2655, allocations: 152.8 kB / 0.7323 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2655, allocations: 0 / 0.7323 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.2656, allocations: 4 kB / 0.7323 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.2656, allocations: 8.188 kB / 0.7323 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.266, allocations: 96.44 kB / 0.7324 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2672, allocations: 0.6451 MB / 0.733 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.2676, allocations: 54.55 kB / 0.7331 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2676, allocations: 0 / 0.7331 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.268, allocations: 154.8 kB / 0.7332 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.268, allocations: 4 kB / 0.7332 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.000651/0.2686, allocations: 244.3 kB / 0.7335 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.2688, allocations: 136.5 kB / 0.7336 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.269, allocations: 187.3 kB / 0.7338 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2691, allocations: 25.7 kB / 0.7338 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.2692, allocations: 139.8 kB / 0.7339 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.2692, allocations: 27.73 kB / 0.734 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.2693, allocations: 0 / 0.734 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2694, allocations: 326.8 kB / 0.7343 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.2696, allocations: 39.98 kB / 0.7343 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.2698, allocations: 113.3 kB / 0.7344 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2701, allocations: 111.3 kB / 0.7345 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.2701, allocations: 0 / 0.7345 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005908/0.2707, allocations: 248.9 kB / 0.7348 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.2708, allocations: 67.34 kB / 0.7348 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2708, allocations: 4 kB / 0.7348 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2708, allocations: 4 kB / 0.7348 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2711, allocations: 31.98 kB / 0.7349 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.2711, allocations: 7.938 kB / 0.7349 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.2713, allocations: 23.83 kB / 0.7349 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2714, allocations: 8 kB / 0.7349 GB, free: 0.6602 MB / 0.5573 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.0002305/0.2716, allocations: 173.6 kB / 0.7351 GB, free: 492 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2717, allocations: 19.77 kB / 0.7351 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.2717, allocations: 17.39 kB / 0.7351 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.2718, allocations: 0 / 0.7351 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2718, allocations: 0 / 0.7351 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2718, allocations: 0 / 0.7351 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2721, allocations: 213.5 kB / 0.7353 GB, free: 192 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2721, allocations: 0 / 0.7353 GB, free: 192 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2723, allocations: 11.94 kB / 0.7353 GB, free: 180 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.2723, allocations: 11.95 kB / 0.7353 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.2723, allocations: 4 kB / 0.7353 GB, free: 164 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2723, allocations: 0 / 0.7353 GB, free: 164 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.2724, allocations: 3.984 kB / 0.7354 GB, free: 160 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.2731, allocations: 218.7 kB / 0.7356 GB, free: 15.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.2732, allocations: 93 kB / 0.7356 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.2732, allocations: 7.953 kB / 0.7357 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.2734, allocations: 15.98 kB / 0.7357 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.2735, allocations: 11.98 kB / 0.7357 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2735, allocations: 0 / 0.7357 GB, free: 15.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001765/0.2737, allocations: 127.2 kB / 0.7358 GB, free: 15.65 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2737, allocations: 0 / 0.7358 GB, free: 15.65 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003929/0.2742, allocations: 35.94 kB / 0.7358 GB, free: 15.61 MB / 0.573 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.0009756/0.2751, allocations: 0.7626 MB / 0.7366 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.2757, allocations: 226.8 kB / 0.7368 GB, free: 14.57 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2757, allocations: 3.938 kB / 0.7368 GB, free: 14.57 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.2759, allocations: 103.4 kB / 0.7369 GB, free: 14.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.2762, allocations: 19.94 kB / 0.7369 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.2789, allocations: 2.435 MB / 0.7393 GB, free: 11.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2793, allocations: 0.7196 MB / 0.74 GB, free: 11.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.2794, allocations: 20.62 kB / 0.74 GB, free: 11.13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2795, allocations: 35.42 kB / 0.7401 GB, free: 11.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.2796, allocations: 0 / 0.7401 GB, free: 11.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.3072, allocations: 2.698 MB / 0.7427 GB, free: 8.516 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.3076, allocations: 185.7 kB / 0.7429 GB, free: 8.281 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/2.85, allocations: 7.938 kB / 0.7429 GB, free: 8.273 MB / 0.573 GB