Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0008928/0.0008928, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.0009823/0.0009823, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9303/0.9303, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.939/1.939, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.836e-06/1.027e-05, allocations: 6.219 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00131/0.00132, allocations: 0.8923 MB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.002181, allocations: 0.921 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.00224, allocations: 8 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.002275, allocations: 15.8 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.002363, allocations: 15.81 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.002576, allocations: 47.88 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.002698, allocations: 127.6 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.002837, allocations: 37.7 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.00301, allocations: 83.8 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.003084, allocations: 39.88 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003104, allocations: 12 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.00315, allocations: 23.94 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.003173, allocations: 27.92 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.003209, allocations: 35.91 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.003385, allocations: 167.4 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003387, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003388, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003392, allocations: 0 / 1.003 GB, free: 11.07 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000726/0.004118, allocations: 353.8 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.004158, allocations: 13.34 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.004197, allocations: 46.75 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.004351, allocations: 32.81 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.004551, allocations: 158.2 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004564, allocations: 8.375 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.004579, allocations: 12.38 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.004736, allocations: 105.9 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.004747, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.004758, allocations: 4 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004763, allocations: 11.88 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.004882, allocations: 75.91 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.005315, allocations: 347.6 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.005498, allocations: 74.61 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.00556, allocations: 44.83 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.005574, allocations: 0 / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.005594, allocations: 38.56 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005595, allocations: 0 / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002512/0.005846, allocations: 133.7 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.005872, allocations: 51.41 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005973, allocations: 156.9 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.005988, allocations: 29.7 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.00604, allocations: 108.3 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.006059, allocations: 23.8 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.006094, allocations: 29.7 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.006175, allocations: 322.8 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.00623, allocations: 27.98 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.006313, allocations: 110 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.006404, allocations: 56.77 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006406, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001374/0.006543, allocations: 113.8 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.006557, allocations: 11.98 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006561, allocations: 96 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.006574, allocations: 7.875 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/0.006619, allocations: 8 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006625, allocations: 3.984 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.00667, allocations: 11.95 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.006677, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.363e-05/0.00675, allocations: 129.8 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.006767, allocations: 7.953 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.006792, allocations: 16.78 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.006794, allocations: 3.938 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.006798, allocations: 0 / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006801, allocations: 0 / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.006935, allocations: 164.7 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006936, allocations: 3.938 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.00697, allocations: 19.92 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006973, allocations: 3.984 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.006981, allocations: 7.984 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.006983, allocations: 7.938 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006984, allocations: 0 / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.007138, allocations: 195.4 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.007151, allocations: 11.89 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.007168, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.007222, allocations: 19.92 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.007273, allocations: 11.97 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007277, allocations: 0 / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.007335, allocations: 125.2 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007335, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000163/0.007498, allocations: 23.95 kB / 1.006 GB, free: 7.57 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0003297/0.007828, allocations: 0.7241 MB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.007976, allocations: 68.38 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007977, allocations: 0 / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/0.00803, allocations: 43.95 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.008239, allocations: 14 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.009546, allocations: 1.653 MB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.009606, allocations: 89.5 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.009651, allocations: 12.72 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.009709, allocations: 40.42 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.009709, allocations: 0 / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/0.08636, allocations: 3.372 MB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.184, allocations: 0 / 1.012 GB, free: 1.586 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_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_SystemOnOff.fmu) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.891273787245154]