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.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.0008364/0.0008364, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008415/0.0008415, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.92/0.92, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.647/1.647, allocations: 359 MB / 0.6037 GB, free: 11.09 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.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 3.326e-06/3.326e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.39e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001452/0.001476, allocations: 0.7305 MB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.00298, allocations: 1.206 MB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.003031, allocations: 3.938 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.003062, allocations: 3.938 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.003134, allocations: 15.92 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.003596, allocations: 141.9 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003735, allocations: 119.8 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.003832, allocations: 15.92 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003936, allocations: 67.88 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.004017, allocations: 31.95 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.004038, allocations: 8 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.004112, allocations: 31.91 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.004134, allocations: 11.98 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.004185, allocations: 39.84 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.004362, allocations: 127.7 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004365, allocations: 8 kB / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004366, allocations: 0 / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.00437, allocations: 0 / 0.953 GB, free: 0.9375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004623/0.004833, allocations: 339.7 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004871, allocations: 8.031 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.004897, allocations: 30.75 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.004975, allocations: 20.81 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.758e-05/0.005052, allocations: 109.8 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.005066, allocations: 4.375 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.005081, allocations: 4.375 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.005222, allocations: 74.16 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.005231, allocations: 192 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.005239, allocations: 384 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005245, allocations: 4.125 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.005343, allocations: 43.95 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.005736, allocations: 268.1 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.005844, allocations: 54.48 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.005896, allocations: 32.86 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.005915, allocations: 3.984 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.00611, allocations: 91.27 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.006111, allocations: 4 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002846/0.006396, allocations: 133.5 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.00643, allocations: 59.41 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.006495, allocations: 113.8 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.006515, allocations: 33.7 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.006562, allocations: 96.08 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.006577, allocations: 11.89 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.006626, allocations: 37.7 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.0067, allocations: 318.8 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.006806, allocations: 77.66 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.006909, allocations: 109.5 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.007057, allocations: 133 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.007061, allocations: 3.938 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002715/0.007333, allocations: 232.9 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.007365, allocations: 41.62 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.00737, allocations: 64 / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007383, allocations: 4 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.007449, allocations: 15.98 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.007456, allocations: 7.938 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.007555, allocations: 31.95 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.007569, allocations: 4.312 kB / 0.9554 GB, free: 14.17 MB / 0.9167 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 7.009e-05/0.007639, allocations: 125.7 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.00765, allocations: 7.953 kB / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.007835, allocations: 126 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007838, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.007842, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.007847, allocations: 4 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.008098, allocations: 325.6 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0081, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.008135, allocations: 11.92 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.008138, allocations: 8 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.008146, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008148, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008149, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.008312, allocations: 203.4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.008321, allocations: 7.953 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.008337, allocations: 8 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.008381, allocations: 7.984 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.008415, allocations: 7.984 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.008421, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.008456, allocations: 91.27 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008456, allocations: 0 / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001808/0.008636, allocations: 27.94 kB / 0.9563 GB, free: 13.14 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: 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.000395/0.009031, allocations: 0.7322 MB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.009287, allocations: 193 kB / 0.9572 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009288, allocations: 0 / 0.9572 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.009347, allocations: 31.92 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.009555, allocations: 19.92 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.01089, allocations: 1.769 MB / 0.959 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.01119, allocations: 67.34 kB / 0.9591 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.01122, allocations: 7.984 kB / 0.9591 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.01126, allocations: 20.78 kB / 0.9591 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.01126, allocations: 0 / 0.9591 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02666, allocations: 3.237 MB / 0.9623 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.827, allocations: 6.5 kB / 0.9623 GB, free: 7.027 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.93052966427058]