Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008718/0.0008718, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0009352/0.0009352, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9082/0.9082, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.766e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00151/0.001528, allocations: 0.7285 MB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.002958, allocations: 1.093 MB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.003014, allocations: 4 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.003054, allocations: 11.81 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.003122, allocations: 11.88 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.0034, allocations: 48.31 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.688e-05/0.003497, allocations: 79.77 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.003597, allocations: 12.17 kB / 0.9525 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.00368, allocations: 39.84 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.003729, allocations: 27.95 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.003746, allocations: 4 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.003796, allocations: 20 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.003819, allocations: 19.91 kB / 0.9526 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.003851, allocations: 23.92 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003981, allocations: 87.72 kB / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003983, allocations: 0 / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003984, allocations: 0 / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003988, allocations: 0 / 0.9527 GB, free: 1.266 MB / 0.9011 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.0003837/0.004372, allocations: 303.9 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.004407, allocations: 8.031 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.004437, allocations: 46.67 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.004462, allocations: 8.891 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.386e-05/0.004536, allocations: 121.6 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.004545, allocations: 384 / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.004563, allocations: 8.375 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.004694, allocations: 66.22 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004701, allocations: 192 / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.00471, allocations: 384 / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.004717, allocations: 7.938 kB / 0.9532 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.004803, allocations: 43.95 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.005213, allocations: 279.9 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.005322, allocations: 54.48 kB / 0.9536 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.005371, allocations: 24.97 kB / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.005389, allocations: 3.984 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.005511, allocations: 79.38 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005511, allocations: 4 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0002573/0.005769, allocations: 129.6 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.0058, allocations: 51.41 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.00587, allocations: 137.7 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.005884, allocations: 29.7 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.005927, allocations: 88.08 kB / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.005944, allocations: 19.89 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.00598, allocations: 29.7 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.006053, allocations: 318.8 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.006111, allocations: 35.91 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.006185, allocations: 69.98 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.006315, allocations: 113.8 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006317, allocations: 0 / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001683/0.006486, allocations: 129.4 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.006497, allocations: 8 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006501, allocations: 224 / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.006513, allocations: 8 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.006587, allocations: 23.97 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006592, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.006633, allocations: 19.89 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.006642, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 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 6.354e-05/0.006706, allocations: 135.8 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.006713, allocations: 7.953 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.006736, allocations: 8.422 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006739, allocations: 4 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.006743, allocations: 4 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006747, allocations: 0 / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.007028, allocations: 341.5 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007029, allocations: 0 / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.007051, allocations: 4 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007053, allocations: 4 kB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.007062, allocations: 7.984 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007063, allocations: 0 / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007064, allocations: 4 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.007213, allocations: 211.7 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.007221, allocations: 11.94 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.007231, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.007269, allocations: 4 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.0073, allocations: 7.984 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.007307, allocations: 7.938 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.007341, allocations: 91.27 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007342, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001738/0.007515, allocations: 23.94 kB / 0.9557 GB, free: 13.86 MB / 0.9167 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.000368/0.007883, allocations: 0.7436 MB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.008043, allocations: 71.88 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008044, allocations: 448 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.008102, allocations: 35.97 kB / 0.9565 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.008282, allocations: 15.94 kB / 0.9565 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.009592, allocations: 1.523 MB / 0.958 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.009646, allocations: 75.33 kB / 0.9581 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.009674, allocations: 4 kB / 0.9581 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.009715, allocations: 24.48 kB / 0.9581 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.009716, allocations: 0 / 0.9581 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02575, allocations: 2.829 MB / 0.9609 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.712, allocations: 7.297 kB / 0.9609 GB, free: 8.527 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable samTri.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv. Warning: Get data of variable samTri.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv. Warning: Get data of variable samTri1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.847233588807285]