Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.0008432/0.0008432, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008756/0.0008756, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8847/0.8847, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9504 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.238e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002591/0.002613, allocations: 1.494 MB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.003388, allocations: 451.4 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.003431, allocations: 0 / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.003465, allocations: 3.938 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.00355, allocations: 11.86 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.003719, allocations: 27.91 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.003824, allocations: 51.84 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.003936, allocations: 8 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.004018, allocations: 39.83 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.004084, allocations: 11.98 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.004113, allocations: 8 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.004123, allocations: 4 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.00415, allocations: 15.91 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.004192, allocations: 15.98 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.00431, allocations: 43.81 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004313, allocations: 0 / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004315, allocations: 4 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.00432, allocations: 3.938 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004866/0.004806, allocations: 290.2 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.004851, allocations: 8.031 kB / 0.9529 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.004887, allocations: 34.73 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.004916, allocations: 4.938 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005038, allocations: 121.6 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.005053, allocations: 4.375 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.005066, allocations: 4.375 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005182, allocations: 62.23 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005192, allocations: 192 / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.005204, allocations: 8.125 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.00521, allocations: 4 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.005277, allocations: 19.98 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.005734, allocations: 259.8 kB / 0.9534 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.00585, allocations: 50.56 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.005896, allocations: 24.94 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.005912, allocations: 96 / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.006107, allocations: 83.22 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.006109, allocations: 0 / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0002378/0.006347, allocations: 101.6 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.00639, allocations: 55.41 kB / 0.9537 GB, free: 80 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.006489, allocations: 109.8 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.006504, allocations: 26.08 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.006552, allocations: 92.12 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.006578, allocations: 23.84 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.006624, allocations: 25.72 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.006732, allocations: 322.7 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.00677, allocations: 24 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.006824, allocations: 43.36 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.245e-05/0.006916, allocations: 71.59 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.00692, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.00706, allocations: 97.52 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.007079, allocations: 10.33 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007084, allocations: 0 / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.0071, allocations: 4 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.007175, allocations: 8 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.007179, allocations: 4.031 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.007243, allocations: 11.92 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.007252, allocations: 8 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.133e-05/0.007334, allocations: 125.7 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.007346, allocations: 3.953 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.007372, allocations: 8.125 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.007376, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007381, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007385, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.007761, allocations: 325.5 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007763, allocations: 7.938 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.007789, allocations: 3.984 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.007791, allocations: 4 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007799, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007801, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007803, allocations: 3.938 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.007989, allocations: 187.4 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.007998, allocations: 0 / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.008011, allocations: 192 / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.008092, allocations: 12.05 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.008137, allocations: 23.86 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.008146, allocations: 7.938 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.008182, allocations: 83.28 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008183, allocations: 0 / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002436/0.008426, allocations: 15.94 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004001/0.008826, allocations: 0.7085 MB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.00895, allocations: 55.91 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008952, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.00899, allocations: 23.94 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.009228, allocations: 20.41 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.01019, allocations: 1.378 MB / 0.9574 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.01025, allocations: 71.33 kB / 0.9575 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.01028, allocations: 4 kB / 0.9575 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.01033, allocations: 20.48 kB / 0.9575 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.01033, allocations: 0 / 0.9575 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.02708, allocations: 2.464 MB / 0.9599 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/6.5, allocations: 8.25 kB / 0.9599 GB, free: 9.527 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable offTim1.u in file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv. Warning: Get data of variable offTim1.u from file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv. Warning: Get data of variable offTim2.u from file Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.540966662578285]