Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001523/0.001523, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001739/0.001739, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.9005/0.9005, 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.802/1.802, 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.901e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001632/0.001651, allocations: 0.7951 MB / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002785, allocations: 1.178 MB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.002834, allocations: 0 / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.002862, allocations: 3.938 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.002936, allocations: 11.88 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.003311, allocations: 150.9 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.003466, allocations: 143.7 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.003574, allocations: 23.97 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.003687, allocations: 83.88 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.003769, allocations: 47.86 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.003791, allocations: 12 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.003845, allocations: 27.98 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.00387, allocations: 19.91 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.003922, allocations: 47.91 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004096, allocations: 179.5 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004098, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004098, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004102, allocations: 3.938 kB / 1.003 GB, free: 10.83 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004697/0.004572, allocations: 355.7 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.00461, allocations: 9.344 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.004641, allocations: 38.75 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.00468, allocations: 12.89 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.004756, allocations: 117.7 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.004768, allocations: 8.375 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.004786, allocations: 12.38 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.004934, allocations: 82.22 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004942, allocations: 192 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.004952, allocations: 384 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.00496, allocations: 16.05 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.005075, allocations: 63.31 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.005491, allocations: 327.6 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.005597, allocations: 50.55 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.005652, allocations: 32.92 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.00566, allocations: 3.938 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.005807, allocations: 79.38 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005808, allocations: 0 / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002734/0.006081, allocations: 129.6 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.006114, allocations: 51.41 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.006192, allocations: 125.8 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.006214, allocations: 33.7 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.006268, allocations: 108 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.006282, allocations: 11.89 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.006335, allocations: 37.7 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.006421, allocations: 322.8 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.006531, allocations: 85.66 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.006649, allocations: 134.8 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.00679, allocations: 120.2 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006793, allocations: 0 / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002585/0.007051, allocations: 229 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.007083, allocations: 40.05 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007088, allocations: 0 / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007101, allocations: 3.984 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.007157, allocations: 8 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.007163, allocations: 0 / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.007278, allocations: 39.91 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.007291, allocations: 8.078 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 7.894e-05/0.00737, allocations: 133.7 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.007378, allocations: 4 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.007402, allocations: 8.438 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.007404, allocations: 3.938 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007408, allocations: 3.938 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.007414, allocations: 7.984 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.618e-05/0.00751, allocations: 160.6 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007511, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.007538, allocations: 7.984 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007539, allocations: 4.312 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007546, allocations: 0 / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.007557, allocations: 8 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.007558, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.007707, allocations: 121 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.007715, allocations: 7.953 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.007727, allocations: 0 / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.00776, allocations: 11.98 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.007808, allocations: 11.98 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.007814, allocations: 11.92 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.00785, allocations: 91.28 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00785, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000156/0.008006, allocations: 35.88 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003767/0.008382, allocations: 0.6554 MB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.008629, allocations: 189 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008631, allocations: 0 / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.0087, allocations: 35.97 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.008861, allocations: 8.766 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.01047, allocations: 1.725 MB / 1.009 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.01052, allocations: 79.27 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.01054, allocations: 0 / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.01059, allocations: 28.48 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.01059, allocations: 0 / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09774/0.1083, allocations: 3.613 MB / 1.013 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.337, allocations: 11.83 kB / 1.013 GB, free: 0.8711 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.751564648002386]