Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001434/0.001434, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001437/0.001437, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 178] 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.502/2.502, allocations: 476.7 MB / 0.7628 GB, free: 15.32 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.TriggeredMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.91 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7496, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001574/0.7512, allocations: 0.7407 MB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.7523, allocations: 1.191 MB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.7523, allocations: 0.8438 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.7524, allocations: 9.359 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.7524, allocations: 14.77 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.7528, allocations: 144.9 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.753, allocations: 121.8 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.7531, allocations: 9.875 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.7531, allocations: 51.75 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.7532, allocations: 42.22 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.7532, allocations: 10.72 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.07e-05/0.7533, allocations: 26.86 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.7533, allocations: 20.52 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.7534, allocations: 38.81 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.7535, allocations: 108.3 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7535, allocations: 0 / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7535, allocations: 0 / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.7535, allocations: 0.875 kB / 1.274 GB, free: 6.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004266/0.7539, allocations: 407.1 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.754, allocations: 10.38 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.754, allocations: 32.78 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.754, allocations: 9.578 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.887e-05/0.7541, allocations: 177.4 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.7541, allocations: 7.812 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.7541, allocations: 6.594 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.7543, allocations: 73.59 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7543, allocations: 9.031 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.7543, allocations: 0 / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7543, allocations: 1.375 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.7545, allocations: 42.12 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.7548, allocations: 319.2 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.7549, allocations: 50.58 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.755, allocations: 29.48 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.755, allocations: 3.938 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.7552, allocations: 86.7 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7552, allocations: 0 / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003735/0.7556, allocations: 142.4 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.7556, allocations: 52.41 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.7557, allocations: 120 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7557, allocations: 28.64 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.7557, allocations: 86.95 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.7557, allocations: 20.72 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.7558, allocations: 40.53 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.385e-05/0.7558, allocations: 319.6 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.756, allocations: 50.98 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.7561, allocations: 71.92 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.7563, allocations: 137.6 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.7563, allocations: 0.9062 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000374/0.7567, allocations: 200.3 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.7567, allocations: 35.69 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7568, allocations: 0.6875 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.7568, allocations: 6.562 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.7568, allocations: 18.61 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7568, allocations: 1.5 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.757, allocations: 32.06 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.757, allocations: 5.938 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 5.365e-05/0.7571, allocations: 125.9 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.7571, allocations: 10.95 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.7574, allocations: 118.2 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.7574, allocations: 1.219 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7574, allocations: 0.7188 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7574, allocations: 96 / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.7577, allocations: 363.2 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7577, allocations: 8.453 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.7577, allocations: 8.031 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7577, allocations: 0.6875 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7577, allocations: 5.484 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7577, allocations: 0 / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7577, allocations: 8.781 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.758, allocations: 205.2 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.758, allocations: 86.45 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.758, allocations: 1.734 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.7581, allocations: 12.66 kB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.7581, allocations: 11.84 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.7581, allocations: 7.234 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.7582, allocations: 89.48 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7582, allocations: 0 / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002351/0.7584, allocations: 19.41 kB / 1.277 GB, free: 3.102 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0003907/0.7588, allocations: 0.7507 MB / 1.278 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.7591, allocations: 152 kB / 1.278 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7591, allocations: 8.062 kB / 1.278 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.7592, allocations: 34.05 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.7594, allocations: 18.5 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.761, allocations: 1.634 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.7613, allocations: 0.6915 MB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.7613, allocations: 9.062 kB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.7614, allocations: 19.67 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.7614, allocations: 0 / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.7846, allocations: 2.439 MB / 1.283 GB, free: 15.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.835, allocations: 15.95 kB / 1.283 GB, free: 15.75 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_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_TriggeredMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable triggeredMax.trigger in file Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv. Warning: Get data of variable triggeredMax.trigger from file Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.234800139995059]