Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.552/1.552, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.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.001463/0.001463, allocations: 189.9 kB / 330.8 MB, free: 468 kB / 250.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.665/1.665, allocations: 225.7 MB / 0.6016 GB, free: 1.594 MB / 426.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.0007742/0.0007742, allocations: 99.61 kB / 0.709 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003677, allocations: 9.188 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2164, allocations: 109.2 MB / 0.9327 GB, free: 6.277 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002877/0.2193, allocations: 1.981 MB / 0.9347 GB, free: 4.285 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2207, allocations: 1.109 MB / 0.9358 GB, free: 3.078 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2209, allocations: 4 kB / 0.9358 GB, free: 3.074 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.221, allocations: 11.86 kB / 0.9358 GB, free: 3.062 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.2213, allocations: 71.66 kB / 0.9358 GB, free: 2.992 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2215, allocations: 39.95 kB / 0.9359 GB, free: 2.953 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.2218, allocations: 195.4 kB / 0.9361 GB, free: 2.762 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.2221, allocations: 197.4 kB / 0.9363 GB, free: 2.535 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2223, allocations: 59.77 kB / 0.9363 GB, free: 2.477 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2225, allocations: 63.64 kB / 0.9364 GB, free: 2.414 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2225, allocations: 8 kB / 0.9364 GB, free: 2.406 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2226, allocations: 59.86 kB / 0.9364 GB, free: 2.348 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.2227, allocations: 27.91 kB / 0.9365 GB, free: 2.32 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.2228, allocations: 89.38 kB / 0.9365 GB, free: 2.227 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.223, allocations: 171.6 kB / 0.9367 GB, free: 2.059 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.223, allocations: 0 / 0.9367 GB, free: 2.059 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.223, allocations: 3.938 kB / 0.9367 GB, free: 2.055 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.223, allocations: 0 / 0.9367 GB, free: 2.055 MB / 0.573 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.0006051/0.2237, allocations: 462.6 kB / 0.9372 GB, free: 1.543 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2237, allocations: 15.98 kB / 0.9372 GB, free: 1.527 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.2239, allocations: 24.73 kB / 0.9372 GB, free: 1.504 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.2241, allocations: 215.2 kB / 0.9374 GB, free: 1.258 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.2242, allocations: 42.44 kB / 0.9374 GB, free: 1.211 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.2242, allocations: 16.12 kB / 0.9375 GB, free: 1.195 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.2245, allocations: 146.4 kB / 0.9376 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2245, allocations: 0 / 0.9376 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.2245, allocations: 8 kB / 0.9376 GB, free: 1.031 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.2246, allocations: 8 kB / 0.9376 GB, free: 1.023 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2247, allocations: 91.88 kB / 0.9377 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.2255, allocations: 0.648 MB / 0.9383 GB, free: 228 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.2257, allocations: 54.56 kB / 0.9384 GB, free: 164 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.2258, allocations: 32.91 kB / 0.9384 GB, free: 128 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2258, allocations: 4 kB / 0.9384 GB, free: 124 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.226, allocations: 146.7 kB / 0.9386 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 3.626e-06/0.226, allocations: 0 / 0.9386 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004221/0.2265, allocations: 171.2 kB / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.2266, allocations: 140.5 kB / 0.9389 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2267, allocations: 177.3 kB / 0.939 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2268, allocations: 25.7 kB / 0.9391 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.2269, allocations: 151.6 kB / 0.9392 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2269, allocations: 15.81 kB / 0.9392 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.2269, allocations: 4 kB / 0.9392 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2271, allocations: 326.8 kB / 0.9395 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.2272, allocations: 35.97 kB / 0.9396 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2273, allocations: 117.3 kB / 0.9397 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.2276, allocations: 230.4 kB / 0.9399 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2276, allocations: 0 / 0.9399 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003895/0.228, allocations: 252.9 kB / 0.9401 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.2281, allocations: 63.39 kB / 0.9402 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2281, allocations: 3.938 kB / 0.9402 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2281, allocations: 4 kB / 0.9402 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2283, allocations: 31.92 kB / 0.9402 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.2283, allocations: 4 kB / 0.9402 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2284, allocations: 27.83 kB / 0.9403 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2285, allocations: 8 kB / 0.9403 GB, free: 14.01 MB / 0.5886 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.0001537/0.2286, allocations: 177.4 kB / 0.9404 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.2287, allocations: 15.81 kB / 0.9405 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.2287, allocations: 17.34 kB / 0.9405 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2287, allocations: 0 / 0.9405 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2287, allocations: 4 kB / 0.9405 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2287, allocations: 0 / 0.9405 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2289, allocations: 209.6 kB / 0.9407 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2289, allocations: 0 / 0.9407 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.229, allocations: 19.98 kB / 0.9407 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.229, allocations: 0 / 0.9407 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.2291, allocations: 3.938 kB / 0.9407 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2291, allocations: 3.938 kB / 0.9407 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.2291, allocations: 4 kB / 0.9407 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2295, allocations: 226.5 kB / 0.9409 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2295, allocations: 88.95 kB / 0.941 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.2296, allocations: 15.92 kB / 0.941 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.2297, allocations: 8 kB / 0.941 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.2298, allocations: 11.98 kB / 0.941 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2298, allocations: 4 kB / 0.941 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001204/0.2299, allocations: 130.2 kB / 0.9412 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2299, allocations: 0 / 0.9412 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002354/0.2302, allocations: 28 kB / 0.9412 GB, free: 12.96 MB / 0.5886 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.0001292/0.2303, allocations: 111.3 kB / 0.9413 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.2306, allocations: 218.6 kB / 0.9415 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2306, allocations: 0 / 0.9415 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.2308, allocations: 111.9 kB / 0.9416 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.231, allocations: 16.19 kB / 0.9416 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.2316, allocations: 353.8 kB / 0.942 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.232, allocations: 0.7082 MB / 0.9427 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.2321, allocations: 24.62 kB / 0.9427 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.2321, allocations: 15.44 kB / 0.9427 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.2321, allocations: 0 / 0.9427 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.004018/0.2361, allocations: 1.225 MB / 0.9439 GB, free: 10.1 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)