Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0007832/0.0007832, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008283/0.0008283, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.774/1.774, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.621e-05, allocations: 9.172 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001496/0.001523, allocations: 0.7285 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002722, allocations: 1.194 MB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.002771, allocations: 0 / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.002804, allocations: 11.86 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.002876, allocations: 19.86 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.003337, allocations: 134.6 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.003491, allocations: 127.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003596, allocations: 16.17 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.003708, allocations: 75.88 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.003795, allocations: 43.81 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003819, allocations: 12 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.003895, allocations: 27.97 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.00392, allocations: 11.98 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.003972, allocations: 35.92 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.004155, allocations: 139.6 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.004158, allocations: 4 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.303e-06/0.004159, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.004164, allocations: 0 / 1.002 GB, free: 10.93 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004603/0.004624, allocations: 351.7 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.004665, allocations: 8.75 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.702e-05/0.004692, allocations: 38.69 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.004771, allocations: 12.89 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.004858, allocations: 121.7 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.004872, allocations: 4.375 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.004888, allocations: 4.375 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.00503, allocations: 74.22 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.005038, allocations: 192 / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.005047, allocations: 8.312 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005054, allocations: 15.88 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.005156, allocations: 47.94 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.005552, allocations: 291.8 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.005675, allocations: 58.58 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.005727, allocations: 32.95 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.005747, allocations: 0 / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.005937, allocations: 91.36 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.005938, allocations: 0 / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002868/0.006225, allocations: 153.7 kB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.006262, allocations: 51.41 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.006336, allocations: 125.8 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.006354, allocations: 29.7 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.006405, allocations: 92.09 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.006424, allocations: 23.83 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.006471, allocations: 37.7 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.006559, allocations: 326.8 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.006673, allocations: 81.66 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.006794, allocations: 125.1 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.00696, allocations: 154.7 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006962, allocations: 0 / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002866/0.007248, allocations: 244.8 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.00728, allocations: 37.86 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007286, allocations: 4.078 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.007297, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.007369, allocations: 15.98 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.007376, allocations: 3.984 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.007482, allocations: 39.91 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.007497, allocations: 8 kB / 1.005 GB, free: 8 MB / 0.9636 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 7.895e-05/0.007576, allocations: 133.7 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.007587, allocations: 11.94 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.007784, allocations: 126.1 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007787, allocations: 0 / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.00779, allocations: 0 / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007794, allocations: 0 / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.008069, allocations: 349.5 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.008071, allocations: 0 / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.008104, allocations: 12 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008106, allocations: 4 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008115, allocations: 3.984 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.008117, allocations: 0 / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008118, allocations: 0 / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.008295, allocations: 219.3 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.008306, allocations: 11.89 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.008316, allocations: 0 / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.008398, allocations: 15.98 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.008443, allocations: 7.984 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.00845, allocations: 0 / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.008493, allocations: 103.7 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008493, allocations: 0 / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001997/0.008693, allocations: 24 kB / 1.006 GB, free: 6.918 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 ($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.000409/0.009102, allocations: 0.7476 MB / 1.006 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.009349, allocations: 196.9 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009351, allocations: 0 / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.009416, allocations: 39.97 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.009615, allocations: 10.17 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.01103, allocations: 1.839 MB / 1.008 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.429e-05/0.01109, allocations: 80.12 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.01111, allocations: 4 kB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.01115, allocations: 28.48 kB / 1.009 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.01115, allocations: 0 / 1.009 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.02954, allocations: 3.363 MB / 1.012 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/6.835, allocations: 5.969 kB / 1.012 GB, free: 0.5664 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv. Warning: Get data of variable booPul.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.042949278838933]