Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9109/0.9109, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.785/1.785, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_13_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_13_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.201e-05, allocations: 2.281 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00251/0.002522, allocations: 2.289 MB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003567, allocations: 0.8142 MB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.003649, allocations: 11.88 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.004091, allocations: 151.2 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.004219, allocations: 59.61 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.004347, allocations: 63.8 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.004545, allocations: 167.4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.00476, allocations: 91.98 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004921, allocations: 99.78 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005051, allocations: 51.86 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.00507, allocations: 8 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.005156, allocations: 55.89 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.005209, allocations: 43.83 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.005264, allocations: 47.86 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.005468, allocations: 191.3 kB / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005471, allocations: 0 / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005472, allocations: 4 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.005477, allocations: 0 / 1.005 GB, free: 9.434 MB / 0.9636 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.0007088/0.006185, allocations: 425.2 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.006237, allocations: 13.34 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.006287, allocations: 42.73 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.006564, allocations: 36.83 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.006764, allocations: 154 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.006819, allocations: 64.16 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.006845, allocations: 20.12 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.007079, allocations: 179.4 kB / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.00709, allocations: 0 / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.007106, allocations: 4 kB / 1.006 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.007122, allocations: 4 kB / 1.006 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.007284, allocations: 117.6 kB / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.007993, allocations: 0.5772 MB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.008211, allocations: 88.2 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.008287, allocations: 54.61 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.008299, allocations: 0 / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.008498, allocations: 184.4 kB / 1.007 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.0085, allocations: 0 / 1.007 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003345/0.008834, allocations: 222.8 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.008898, allocations: 140.5 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.009031, allocations: 186.7 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.009044, allocations: 33.7 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.009118, allocations: 140 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.009135, allocations: 19.84 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.009184, allocations: 45.66 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.009272, allocations: 322.8 kB / 1.008 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.00937, allocations: 95.31 kB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.009489, allocations: 164.8 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.009659, allocations: 238.3 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009662, allocations: 0 / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002447/0.009907, allocations: 312.1 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.009941, allocations: 59.41 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.009947, allocations: 7.938 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.009959, allocations: 4 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01006, allocations: 27.98 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01007, allocations: 7.938 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.01014, allocations: 27.88 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01016, allocations: 12.28 kB / 1.009 GB, free: 5.004 MB / 0.9636 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 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * 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 8.939e-05/0.01025, allocations: 166.2 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.01026, allocations: 15.91 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.01028, allocations: 21.39 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01028, allocations: 3.938 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01029, allocations: 0 / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01029, allocations: 0 / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.0104, allocations: 168.7 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.0104, allocations: 48 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.01044, allocations: 15.98 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01045, allocations: 4 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01046, allocations: 7.938 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01046, allocations: 3.938 kB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01046, allocations: 0 / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.01072, allocations: 278.1 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.01074, allocations: 7.984 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01075, allocations: 11.88 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.0108, allocations: 11.98 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.01085, allocations: 7.984 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01086, allocations: 12.06 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.744e-05/0.01095, allocations: 137.6 kB / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01095, allocations: 0 / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001647/0.01112, allocations: 35.89 kB / 1.009 GB, free: 4.02 MB / 0.9636 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.0006556/0.01177, allocations: 0.8088 MB / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.01203, allocations: 304.2 kB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.01203, allocations: 4.188 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.01211, allocations: 117.1 kB / 1.011 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01231, allocations: 21.81 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.01414, allocations: 2.217 MB / 1.013 GB, free: 240 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.08e-05/0.0142, allocations: 106.7 kB / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.306e-05/0.01425, allocations: 20.62 kB / 1.013 GB, free: 96 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.0143, allocations: 40.48 kB / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.01431, allocations: 0 / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/0.08836, allocations: 3.907 MB / 1.017 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.039, allocations: 8.891 kB / 1.017 GB, free: 12.31 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu) > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu) > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.69514979608357]