Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.000745/0.000745, 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.0007778/0.0007778, 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.9132/0.9132, 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.855/1.855, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.688e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001647/0.001664, allocations: 0.7472 MB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.00294, allocations: 1.089 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.002992, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.003024, allocations: 11.86 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.003102, allocations: 7.938 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.003406, allocations: 55.77 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.003529, allocations: 79.69 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003639, allocations: 12.19 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.003737, allocations: 39.91 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.00379, allocations: 23.95 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.003809, allocations: 8 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.003869, allocations: 15.98 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.003897, allocations: 23.91 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.003932, allocations: 19.92 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.004087, allocations: 83.73 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004088, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004089, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.004093, allocations: 0 / 1.003 GB, free: 11.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004563/0.004549, allocations: 302 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.00459, allocations: 13.34 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.004626, allocations: 30.75 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.004658, allocations: 8.891 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.004753, allocations: 121.7 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.004768, allocations: 8.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.004781, allocations: 4.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.004949, allocations: 78.09 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.004958, allocations: 192 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004968, allocations: 4.375 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004973, allocations: 3.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.00513, allocations: 39.95 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.005649, allocations: 283.8 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.005796, allocations: 62.48 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.005872, allocations: 28.97 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.005889, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.006063, allocations: 83.39 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.006064, allocations: 0 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003521/0.006416, allocations: 133.6 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.006453, allocations: 55.41 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.006548, allocations: 125.8 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.006564, allocations: 29.7 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.006616, allocations: 92.09 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.006634, allocations: 11.91 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.006687, allocations: 29.7 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.006788, allocations: 322.8 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.006871, allocations: 27.97 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.006985, allocations: 81.86 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.007171, allocations: 109.9 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.007175, allocations: 3.984 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002573/0.007432, allocations: 137.4 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007446, allocations: 4 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.007453, allocations: 4 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.007466, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.007563, allocations: 15.98 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.00757, allocations: 4 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.007635, allocations: 20.14 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.007648, allocations: 8 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.879e-05/0.007727, allocations: 124.2 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.007738, allocations: 7.953 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.007765, allocations: 12.42 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.007767, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007772, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007775, allocations: 4 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.008165, allocations: 345.5 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008166, allocations: 0 / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.008202, allocations: 7.984 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008204, allocations: 0 / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.008211, allocations: 3.938 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008212, allocations: 4 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008213, allocations: 0 / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.00843, allocations: 203.4 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.008439, allocations: 4 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.008455, allocations: 12 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.008522, allocations: 7.922 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.008562, allocations: 7.984 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.00857, allocations: 7.938 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.008616, allocations: 95.2 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.008617, allocations: 0 / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002925/0.008909, allocations: 23.89 kB / 1.006 GB, free: 7.883 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004943/0.009403, allocations: 0.7408 MB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.009622, allocations: 79.81 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009623, allocations: 0 / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.009705, allocations: 27.98 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.009999, allocations: 17.06 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.01171, allocations: 1.523 MB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.804e-05/0.01178, allocations: 76.03 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.01181, allocations: 11.98 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.01186, allocations: 20.5 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01186, allocations: 0 / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.1287, allocations: 2.821 MB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.202, allocations: 16.52 kB / 1.011 GB, free: 2.543 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.739683899097145]