Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007473/0.0007473, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 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.0008149/0.0008149, allocations: 219.8 kB / 23.03 MB, free: 2.953 MB / 13.93 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.9818/0.9818, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.917/1.917, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 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.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 67.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7347, allocations: 180 MB / 1.352 GB, free: 1.684 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001805/0.7365, allocations: 0.729 MB / 1.353 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.7375, allocations: 1.081 MB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.7375, allocations: 0 / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.7375, allocations: 11.88 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.7376, allocations: 11.92 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.7379, allocations: 51.81 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.7381, allocations: 75.78 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.7382, allocations: 16.17 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.7383, allocations: 31.86 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.7383, allocations: 31.83 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.7383, allocations: 8 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.7384, allocations: 20 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.7384, allocations: 15.92 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.7385, allocations: 31.8 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.7386, allocations: 85.92 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.7386, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7386, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.7386, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 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.0004648/0.7391, allocations: 302.1 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7391, allocations: 8.922 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.7392, allocations: 38.75 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.7392, allocations: 12.89 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.7393, allocations: 122.3 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7393, allocations: 4.375 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.7393, allocations: 8.359 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.7395, allocations: 65.98 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.7395, allocations: 0 / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7395, allocations: 7.984 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7395, allocations: 0 / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.7396, allocations: 51.89 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.74, allocations: 275.8 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.7401, allocations: 58.58 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.7402, allocations: 28.95 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.7402, allocations: 0 / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.7404, allocations: 75.38 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.7404, allocations: 4 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0002742/0.7406, allocations: 137.5 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.7407, allocations: 59.34 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.7407, allocations: 117.8 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.7407, allocations: 29.64 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.7408, allocations: 104 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.7408, allocations: 7.906 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.7408, allocations: 33.7 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.7409, allocations: 326.8 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.741, allocations: 23.98 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.7411, allocations: 73.98 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.7412, allocations: 109.8 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7412, allocations: 0 / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004567/0.7417, allocations: 129.5 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7417, allocations: 15.92 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7417, allocations: 4.219 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7417, allocations: 4 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.7418, allocations: 15.98 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7418, allocations: 7.938 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.7418, allocations: 11.98 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7418, allocations: 4 kB / 1.357 GB, free: 13.01 MB / 1.042 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.53e-05/0.7419, allocations: 125.7 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.7419, allocations: 3.953 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.7419, allocations: 12.38 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7419, allocations: 4 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7419, allocations: 0 / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.742, allocations: 3.984 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.7423, allocations: 341.5 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7423, allocations: 0 / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.7423, allocations: 11.98 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7423, allocations: 0 / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7423, allocations: 0 / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7423, allocations: 3.938 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7423, allocations: 7.938 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.7425, allocations: 203.4 kB / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.7425, allocations: 11.95 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.7425, allocations: 0 / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.7425, allocations: 11.92 kB / 1.357 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.7426, allocations: 4 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.7426, allocations: 0 / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.7426, allocations: 95.27 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.7426, allocations: 4 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001761/0.7428, allocations: 16 kB / 1.358 GB, free: 12.09 MB / 1.042 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.0003888/0.7432, allocations: 0.7513 MB / 1.358 GB, free: 11.31 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.7433, allocations: 71.89 kB / 1.358 GB, free: 11.24 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.7433, allocations: 448 / 1.358 GB, free: 11.24 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.7434, allocations: 39.91 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.7436, allocations: 17.98 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.7447, allocations: 1.522 MB / 1.36 GB, free: 9.543 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.7448, allocations: 79.69 kB / 1.36 GB, free: 9.445 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.7448, allocations: 7.781 kB / 1.36 GB, free: 9.438 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.7448, allocations: 23.42 kB / 1.36 GB, free: 9.414 MB / 1.042 GB Notification: Performance of SimCode: time 3e-07/0.7448, allocations: 7.938 kB / 1.36 GB, free: 9.406 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/0.8213, allocations: 2.689 MB / 1.363 GB, free: 6.898 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/8.04, allocations: 6.094 kB / 1.363 GB, free: 6.895 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_fmpy_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.886834763921797]