Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001336/0.001336, 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.001583/0.001583, 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 1.106/1.106, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.845/1.845, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.348e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/3.169e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002331/0.002363, allocations: 0.5829 MB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.004355, allocations: 1.14 MB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.004412, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.004445, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.004529, allocations: 3.938 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.005019, allocations: 121.6 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.00519, allocations: 91.83 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.005301, allocations: 3.984 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.005405, allocations: 59.89 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.005503, allocations: 19.97 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.00553, allocations: 8 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.005606, allocations: 15.98 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.005631, allocations: 8 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.005683, allocations: 23.97 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.005876, allocations: 103.7 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.005883, allocations: 0 / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.986e-06/0.005886, allocations: 0 / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.005892, allocations: 0 / 1.003 GB, free: 11.37 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005007/0.006392, allocations: 300 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.006445, allocations: 13.34 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.006479, allocations: 30.75 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.006522, allocations: 4.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.006619, allocations: 113.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006635, allocations: 4.375 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.006651, allocations: 4.375 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.006765, allocations: 67.89 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006774, allocations: 192 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006785, allocations: 4.359 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.00679, allocations: 8.125 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.006811, allocations: 4 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.007191, allocations: 244 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.881e-05/0.00725, allocations: 26.52 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.007268, allocations: 8.844 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.007274, allocations: 0 / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.007491, allocations: 89.09 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.007492, allocations: 0 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002144/0.007706, allocations: 65.62 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.007752, allocations: 51.41 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.007841, allocations: 109.8 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.007865, allocations: 33.7 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.007921, allocations: 92.08 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.007934, allocations: 7.938 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.007989, allocations: 33.7 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.008084, allocations: 314.8 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.008157, allocations: 57.69 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.008231, allocations: 80.25 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.008313, allocations: 80.22 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.008316, allocations: 0 / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001965/0.008512, allocations: 184.9 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.008551, allocations: 35.73 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.008557, allocations: 4 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.008572, allocations: 3.984 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.008594, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.008601, allocations: 4 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.00876, allocations: 28.22 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.008774, allocations: 4 kB / 1.005 GB, free: 9.031 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: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.892e-05/0.008863, allocations: 120.6 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.008875, allocations: 11.88 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.008901, allocations: 12 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008904, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.00891, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.008913, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.009015, allocations: 128.8 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009016, allocations: 3.938 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-06/0.009025, allocations: 3.938 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009027, allocations: 0 / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.009035, allocations: 8 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009037, allocations: 0 / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.00904, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.009135, allocations: 77.33 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.009145, allocations: 11.94 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.009157, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.009172, allocations: 7.938 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.009201, allocations: 4 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009207, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.009243, allocations: 83.27 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009243, allocations: 3.938 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001636/0.009407, allocations: 27.95 kB / 1.005 GB, free: 8.457 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 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0003518/0.009758, allocations: 0.6163 MB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.009958, allocations: 137 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.00996, allocations: 0 / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.009985, allocations: 15.98 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.0102, allocations: 4 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.01148, allocations: 1.481 MB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.01153, allocations: 67.28 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.01155, allocations: 4 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.01159, allocations: 12.48 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of SimCode: time 9.31e-07/0.01159, allocations: 4 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09449/0.1061, allocations: 2.727 MB / 1.01 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.354, allocations: 2.062 kB / 1.01 GB, free: 3.363 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.21470018196851]