Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0008871/0.0008871, allocations: 80.55 kB / 19.96 MB, free: 4.605 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.001019/0.001019, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.9437/0.9437, 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.904/1.904, 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.433e-05, allocations: 5.797 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001522/0.001547, allocations: 0.7362 MB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.002637, allocations: 1.093 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.002683, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.002711, allocations: 11.86 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.002779, allocations: 15.81 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.003073, allocations: 43.83 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003177, allocations: 79.75 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.00328, allocations: 12.19 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.00337, allocations: 43.83 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.003417, allocations: 23.97 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.003433, allocations: 11.94 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.003498, allocations: 19.98 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.00352, allocations: 19.91 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.003554, allocations: 27.92 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.00369, allocations: 87.72 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003693, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003694, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.003698, allocations: 0 / 1.003 GB, free: 11.27 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.0004177/0.004116, allocations: 298.1 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.004158, allocations: 9.344 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.004191, allocations: 38.75 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.004222, allocations: 8.891 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.004305, allocations: 121.6 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.004315, allocations: 4.375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.004328, allocations: 8.375 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.004472, allocations: 66.22 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.00448, allocations: 192 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.004489, allocations: 384 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004495, allocations: 7.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.004589, allocations: 51.94 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.005039, allocations: 279.8 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.005167, allocations: 54.48 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.005218, allocations: 24.97 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.005235, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.005413, allocations: 87.39 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005414, allocations: 0 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002715/0.005686, allocations: 133.6 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.005722, allocations: 51.41 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.005801, allocations: 129.8 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.005814, allocations: 25.7 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.005856, allocations: 92.09 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.005873, allocations: 19.89 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.005912, allocations: 37.64 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.005996, allocations: 322.8 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.006066, allocations: 31.91 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.00614, allocations: 69.98 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.006275, allocations: 113.8 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006278, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001792/0.006457, allocations: 137.4 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.006469, allocations: 8.219 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.006474, allocations: 4 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.006489, allocations: 4 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.006574, allocations: 15.98 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00658, allocations: 0 / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.006622, allocations: 15.92 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.006632, allocations: 4 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.184e-05/0.006704, allocations: 125.7 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.006713, allocations: 7.953 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.006738, allocations: 12.42 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006741, allocations: 4 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.006746, allocations: 0 / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.00675, allocations: 0 / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.007083, allocations: 337.5 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.007085, allocations: 4 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.007114, allocations: 11.98 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.007116, allocations: 0 / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.007122, allocations: 4 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007124, allocations: 4 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007125, allocations: 0 / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.007288, allocations: 211.3 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-06/0.007294, allocations: 0 / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.007305, allocations: 4 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.007348, allocations: 11.92 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.007385, allocations: 7.984 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.007392, allocations: 7.938 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.007429, allocations: 91.27 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007429, allocations: 4 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001853/0.007615, allocations: 19.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.0004037/0.008018, allocations: 0.7407 MB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.008192, allocations: 80.17 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008194, allocations: 4.125 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.008253, allocations: 27.98 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.008459, allocations: 15.92 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.009839, allocations: 1.524 MB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.009896, allocations: 71.28 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.009931, allocations: 7.984 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.009974, allocations: 20.5 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/0.009975, allocations: 0 / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08436/0.09434, allocations: 2.83 MB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.156, allocations: 11.27 kB / 1.011 GB, free: 2.594 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_fmpy_res.csv --start-time 1 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.799248360097408]