Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.416/2.416, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.00178/0.00178, allocations: 196.1 kB / 329.5 MB, free: 1.168 MB / 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 2.744/2.744, allocations: 225.6 MB / 0.6001 GB, free: 2.297 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.001397/0.001397, allocations: 105.9 kB / 0.7074 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004825, allocations: 10 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 109.1 MB / 0.9307 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002879/0.2254, allocations: 1.957 MB / 0.9327 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2268, allocations: 0.733 MB / 0.9334 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.2269, allocations: 0 / 0.9334 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.227, allocations: 23.84 kB / 0.9334 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.2273, allocations: 43.75 kB / 0.9334 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.2275, allocations: 39.91 kB / 0.9335 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.2277, allocations: 163.4 kB / 0.9336 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.228, allocations: 193.8 kB / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2281, allocations: 55.78 kB / 0.9339 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.2283, allocations: 63.75 kB / 0.9339 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.2284, allocations: 4 kB / 0.9339 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2285, allocations: 23.92 kB / 0.934 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.2285, allocations: 31.91 kB / 0.934 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.2286, allocations: 53.62 kB / 0.934 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2288, allocations: 127.9 kB / 0.9342 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2288, allocations: 0 / 0.9342 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2288, allocations: 0 / 0.9342 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2288, allocations: 0 / 0.9342 GB, free: 21.62 MB / 0.5886 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.0006941/0.2295, allocations: 478.5 kB / 0.9346 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2296, allocations: 8.031 kB / 0.9346 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.2299, allocations: 24.83 kB / 0.9347 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.2301, allocations: 212.1 kB / 0.9349 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.2302, allocations: 30.45 kB / 0.9349 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.2302, allocations: 19.92 kB / 0.9349 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.2306, allocations: 152.2 kB / 0.935 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2306, allocations: 3.938 kB / 0.9351 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2307, allocations: 4 kB / 0.9351 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2307, allocations: 7.984 kB / 0.9351 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.231, allocations: 91.94 kB / 0.9352 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.2319, allocations: 0.6363 MB / 0.9358 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.2323, allocations: 66.56 kB / 0.9358 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2324, allocations: 24.84 kB / 0.9359 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2324, allocations: 0 / 0.9359 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.2327, allocations: 154.9 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.2327, allocations: 4 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004907/0.2332, allocations: 171 kB / 0.9362 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2332, allocations: 132.5 kB / 0.9363 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2334, allocations: 187.6 kB / 0.9365 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2335, allocations: 25.7 kB / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.2336, allocations: 143.7 kB / 0.9366 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.2336, allocations: 19.81 kB / 0.9367 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2336, allocations: 0 / 0.9367 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.2337, allocations: 326.8 kB / 0.937 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.2339, allocations: 43.97 kB / 0.937 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.234, allocations: 112.3 kB / 0.9371 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.2342, allocations: 107.3 kB / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2342, allocations: 0 / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004749/0.2347, allocations: 244.6 kB / 0.9375 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.2348, allocations: 67.64 kB / 0.9375 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2348, allocations: 8 kB / 0.9375 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2348, allocations: 4 kB / 0.9375 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.235, allocations: 39.86 kB / 0.9376 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2351, allocations: 4 kB / 0.9376 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.2353, allocations: 23.83 kB / 0.9376 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.2353, allocations: 8 kB / 0.9376 GB, free: 17.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.2355, allocations: 179.4 kB / 0.9378 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2355, allocations: 19.75 kB / 0.9378 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.2355, allocations: 13.41 kB / 0.9378 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2355, allocations: 0 / 0.9378 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2356, allocations: 0 / 0.9378 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2356, allocations: 0 / 0.9378 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2357, allocations: 213.6 kB / 0.938 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2358, allocations: 0 / 0.938 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2359, allocations: 11.98 kB / 0.938 GB, free: 17.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2359, allocations: 11.88 kB / 0.938 GB, free: 17.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2359, allocations: 8 kB / 0.938 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.236, allocations: 0 / 0.938 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.236, allocations: 0 / 0.938 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.2365, allocations: 218.6 kB / 0.9382 GB, free: 16.99 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.2365, allocations: 88.95 kB / 0.9383 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.2366, allocations: 11.98 kB / 0.9383 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2368, allocations: 12 kB / 0.9384 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.2368, allocations: 11.98 kB / 0.9384 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2369, allocations: 0 / 0.9384 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001161/0.237, allocations: 131.2 kB / 0.9385 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.237, allocations: 0 / 0.9385 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003064/0.2373, allocations: 32 kB / 0.9385 GB, free: 16.69 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 (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.000103/0.2374, allocations: 116.8 kB / 0.9386 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.2379, allocations: 222.6 kB / 0.9388 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2379, allocations: 0 / 0.9388 GB, free: 16.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.238, allocations: 112 kB / 0.939 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2384, allocations: 19.98 kB / 0.939 GB, free: 16.19 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.2391, allocations: 346 kB / 0.9393 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2392, allocations: 0.7082 MB / 0.94 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.2394, allocations: 24.62 kB / 0.94 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.2394, allocations: 11.44 kB / 0.94 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.2394, allocations: 0 / 0.94 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.005129/0.2446, allocations: 1.195 MB / 0.9412 GB, free: 13.86 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)