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.0009816/0.0009816, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.0009335/0.0009335, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9521/0.9521, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.935/1.935, allocations: 0.5046 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001085/0.001085, allocations: 71.89 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8284, allocations: 180 MB / 1.352 GB, free: 1.707 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003098/0.8315, allocations: 2.309 MB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.8328, allocations: 0.8261 MB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.8329, allocations: 11.88 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.8336, allocations: 147.4 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.8338, allocations: 59.61 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.834, allocations: 63.86 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.8342, allocations: 159.5 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.8344, allocations: 91.14 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.8346, allocations: 79.7 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.8348, allocations: 63.73 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.8348, allocations: 12 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.8349, allocations: 47.89 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.835, allocations: 39.84 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.835, allocations: 63.66 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.8353, allocations: 171.3 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.8353, allocations: 3.984 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8353, allocations: 0 / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8353, allocations: 0 / 1.356 GB, free: 13.56 MB / 1.042 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.0008472/0.8361, allocations: 437.2 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.8362, allocations: 12.92 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.8362, allocations: 46.73 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.8365, allocations: 36.81 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.8367, allocations: 153.3 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.8368, allocations: 63.53 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.8368, allocations: 19.95 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.8371, allocations: 176.5 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8371, allocations: 11.94 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8371, allocations: 0 / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.8371, allocations: 4 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.8372, allocations: 121.6 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.8379, allocations: 0.577 MB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.8381, allocations: 84.2 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.8381, allocations: 54.61 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.8381, allocations: 4.188 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.8383, allocations: 176.4 kB / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8383, allocations: 0 / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0003028/0.8386, allocations: 230.6 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.8387, allocations: 136.5 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8388, allocations: 195.2 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.8388, allocations: 25.7 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.8389, allocations: 144 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.8389, allocations: 19.86 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.839, allocations: 45.66 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.8391, allocations: 330.8 kB / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.8392, allocations: 91.38 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.8393, allocations: 164.8 kB / 1.36 GB, free: 9.883 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.8394, allocations: 230.3 kB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8394, allocations: 0 / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002454/0.8397, allocations: 308.3 kB / 1.36 GB, free: 9.273 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.8397, allocations: 67.41 kB / 1.36 GB, free: 9.195 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.8397, allocations: 4 kB / 1.36 GB, free: 9.191 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8397, allocations: 4 kB / 1.36 GB, free: 9.188 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.8398, allocations: 27.92 kB / 1.36 GB, free: 9.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.8398, allocations: 7.984 kB / 1.36 GB, free: 9.152 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.8399, allocations: 23.89 kB / 1.36 GB, free: 9.129 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.8399, allocations: 8 kB / 1.36 GB, free: 9.121 MB / 1.042 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 0.0001045/0.84, allocations: 167.4 kB / 1.36 GB, free: 8.941 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.84, allocations: 23.89 kB / 1.36 GB, free: 8.918 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.8401, allocations: 17.39 kB / 1.361 GB, free: 8.895 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8401, allocations: 0 / 1.361 GB, free: 8.895 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8401, allocations: 0 / 1.361 GB, free: 8.895 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8401, allocations: 0 / 1.361 GB, free: 8.895 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.8402, allocations: 176.7 kB / 1.361 GB, free: 8.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8402, allocations: 7.922 kB / 1.361 GB, free: 8.672 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.8403, allocations: 12 kB / 1.361 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.8403, allocations: 0 / 1.361 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8403, allocations: 0 / 1.361 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8403, allocations: 7.938 kB / 1.361 GB, free: 8.652 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8403, allocations: 3.984 kB / 1.361 GB, free: 8.648 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.8406, allocations: 278.1 kB / 1.361 GB, free: 8.34 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.8406, allocations: 19.88 kB / 1.361 GB, free: 8.32 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.8406, allocations: 4 kB / 1.361 GB, free: 8.316 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.402e-05/0.8406, allocations: 11.98 kB / 1.361 GB, free: 8.305 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.8407, allocations: 7.984 kB / 1.361 GB, free: 8.297 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.8407, allocations: 8 kB / 1.361 GB, free: 8.289 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.322e-05/0.8408, allocations: 132.3 kB / 1.361 GB, free: 8.16 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8408, allocations: 8 kB / 1.361 GB, free: 8.152 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001701/0.841, allocations: 31.95 kB / 1.361 GB, free: 8.121 MB / 1.042 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.0004569/0.8414, allocations: 0.8049 MB / 1.362 GB, free: 7.27 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.8417, allocations: 299.7 kB / 1.362 GB, free: 6.934 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8417, allocations: 0 / 1.362 GB, free: 6.934 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.8417, allocations: 125.7 kB / 1.362 GB, free: 6.793 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.8419, allocations: 27.73 kB / 1.362 GB, free: 6.766 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.8438, allocations: 2.224 MB / 1.365 GB, free: 4.34 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.536e-05/0.8438, allocations: 110.6 kB / 1.365 GB, free: 4.211 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.567e-05/0.8439, allocations: 16.64 kB / 1.365 GB, free: 4.195 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.844, allocations: 43.42 kB / 1.365 GB, free: 4.152 MB / 1.042 GB Notification: Performance of SimCode: time 1.633e-06/0.844, allocations: 0 / 1.365 GB, free: 4.152 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08746/0.9314, allocations: 3.757 MB / 1.368 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.477, allocations: 8.641 kB / 1.368 GB, free: 0.5586 MB / 1.042 GB " [Timeout remaining time 291] (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: 13.329591262154281]