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.001241/0.001241, 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.001534/0.001534, 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.9213/0.9213, 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.929/1.929, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.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 3.737e-06/3.737e-06, allocations: 4 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.217e-05, allocations: 6.281 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001513/0.001536, allocations: 0.7316 MB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.002604, allocations: 1.097 MB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.002679, allocations: 0 / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.00271, allocations: 7.938 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.002782, allocations: 11.86 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.003082, allocations: 63.69 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003182, allocations: 67.78 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003285, allocations: 16.16 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.003375, allocations: 43.91 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.003424, allocations: 27.89 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.003441, allocations: 8 kB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.003493, allocations: 12 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.003515, allocations: 15.98 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.00355, allocations: 27.91 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003688, allocations: 87.67 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.003692, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.623e-06/0.003693, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.003698, allocations: 4 kB / 1.003 GB, free: 11.25 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.0004208/0.004119, allocations: 294.1 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.004162, allocations: 13.34 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.004197, allocations: 38.73 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.004232, allocations: 8.891 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.004339, allocations: 121.7 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.004353, allocations: 8.375 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.004365, allocations: 4.375 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.004526, allocations: 70.16 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004533, allocations: 192 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.004542, allocations: 384 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.004548, allocations: 3.938 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.004644, allocations: 47.89 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.005125, allocations: 287.8 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.005254, allocations: 54.48 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.005319, allocations: 28.97 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.005341, allocations: 7.984 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.005532, allocations: 71.39 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.005533, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.000287/0.00582, allocations: 133.6 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.00586, allocations: 59.34 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.005946, allocations: 121.8 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.00596, allocations: 25.7 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.006008, allocations: 104.1 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.006025, allocations: 11.84 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.006069, allocations: 33.7 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.006146, allocations: 314.8 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.006214, allocations: 31.97 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.006299, allocations: 73.98 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.006439, allocations: 113.8 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.006443, allocations: 4 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001855/0.006628, allocations: 129.5 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.006643, allocations: 4 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.00665, allocations: 4 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.006663, allocations: 8.219 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.006753, allocations: 23.91 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.006761, allocations: 4 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.006803, allocations: 4 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.006817, allocations: 11.98 kB / 1.005 GB, free: 8.789 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.511e-05/0.006892, allocations: 129.7 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.0069, allocations: 3.953 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.006928, allocations: 12.44 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006931, allocations: 0 / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.006936, allocations: 4 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006939, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.007283, allocations: 341.5 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007285, allocations: 7.875 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.007316, allocations: 8 kB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.007319, allocations: 3.984 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.007326, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007328, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007329, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.007494, allocations: 203.4 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007504, allocations: 7.984 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.007516, allocations: 3.938 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.00756, allocations: 8 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.007598, allocations: 7.984 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.007605, allocations: 7.922 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.007647, allocations: 99.2 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007647, allocations: 0 / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001943/0.007841, allocations: 19.95 kB / 1.006 GB, free: 7.863 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.0004413/0.008283, allocations: 0.7408 MB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.00847, allocations: 72.44 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008473, allocations: 0 / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.008539, allocations: 44.34 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.008762, allocations: 12.03 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.01014, allocations: 1.524 MB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.172e-05/0.01019, allocations: 79.33 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.01023, allocations: 4 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.01027, allocations: 24.48 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.01027, allocations: 0 / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09301/0.1033, allocations: 2.826 MB / 1.011 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.143, allocations: 15.28 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.82289169356227]