Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 71.88 kB / 1.107 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.839, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001749/0.8407, allocations: 0.7648 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.842, allocations: 1.168 MB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.842, allocations: 1.812 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.842, allocations: 5.25 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.8421, allocations: 18.23 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.8426, allocations: 138.8 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.8428, allocations: 127 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.8428, allocations: 13.27 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.8429, allocations: 58.16 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.843, allocations: 46.27 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.8431, allocations: 10.88 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.8431, allocations: 25.27 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.8431, allocations: 21.98 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.8432, allocations: 44.94 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.8434, allocations: 123.1 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8434, allocations: 0 / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8434, allocations: 0 / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8434, allocations: 0.75 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004956/0.8439, allocations: 420.2 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8439, allocations: 9.438 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.8439, allocations: 37.8 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.844, allocations: 16.12 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.8441, allocations: 177.7 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.8441, allocations: 4.156 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.8441, allocations: 11.56 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.8443, allocations: 76.59 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8443, allocations: 0 / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.8443, allocations: 1.031 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8443, allocations: 1.031 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.8445, allocations: 54.8 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.8449, allocations: 338.4 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.845, allocations: 62.91 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.8451, allocations: 31.56 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.8452, allocations: 1.156 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.8454, allocations: 88.31 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.8454, allocations: 0 / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004234/0.8458, allocations: 149.7 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.8458, allocations: 58.27 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.8459, allocations: 117.8 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.8459, allocations: 32.61 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.8459, allocations: 97.88 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.846, allocations: 22.8 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.846, allocations: 36.48 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.8461, allocations: 323.4 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.8462, allocations: 53.17 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.8464, allocations: 101 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.8466, allocations: 148.6 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8466, allocations: 1.156 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000417/0.8471, allocations: 216.5 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.8471, allocations: 43.3 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8471, allocations: 1.312 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8471, allocations: 2.844 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.8472, allocations: 13.53 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8472, allocations: 2.844 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.8474, allocations: 34.84 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.8474, allocations: 16.58 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * 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 6.663e-05/0.8475, allocations: 136.1 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.8475, allocations: 4.062 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.8478, allocations: 123.8 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8478, allocations: 1.219 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.8478, allocations: 0 / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8478, allocations: 1.125 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.8481, allocations: 382.8 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8482, allocations: 0.8906 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.8482, allocations: 14.88 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8482, allocations: 3.938 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.8482, allocations: 0.9688 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.8482, allocations: 5 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8482, allocations: 0.7031 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.8485, allocations: 218.6 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.8485, allocations: 82.73 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.8485, allocations: 5.781 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.8486, allocations: 15.45 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.8486, allocations: 4.469 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.8486, allocations: 2.953 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.8487, allocations: 95.44 kB / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8487, allocations: 4.906 kB / 1.278 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002566/0.8489, allocations: 29.14 kB / 1.278 GB, free: 2.977 MB / 0.9981 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004562/0.8494, allocations: 0.7415 MB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.8497, allocations: 168.9 kB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8497, allocations: 0 / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.8499, allocations: 38.42 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.8501, allocations: 18.38 kB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.8519, allocations: 1.722 MB / 1.28 GB, free: 16.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.8522, allocations: 0.6894 MB / 1.281 GB, free: 16.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.8522, allocations: 6.188 kB / 1.281 GB, free: 16.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.8523, allocations: 20.88 kB / 1.281 GB, free: 16.02 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.8523, allocations: 4 kB / 1.281 GB, free: 16.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.8787, allocations: 2.561 MB / 1.283 GB, free: 15.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.814, allocations: 3.516 kB / 1.283 GB, free: 15.55 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booPul.y in file Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv. Warning: Get data of variable booPul.y from file Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.217832235997776]