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.001876/0.001876, allocations: 113 kB / 18.14 MB, free: 3.684 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.002228/0.002228, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 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.444/1.444, allocations: 225.6 MB / 250.2 MB, free: 13.28 MB / 206.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.751/2.751, allocations: 476.7 MB / 0.7637 GB, free: 10.07 MB / 0.6231 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.002188/0.002188, allocations: 67.89 kB / 1.108 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8603, allocations: 168.7 MB / 1.273 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002148/0.8625, allocations: 0.7247 MB / 1.274 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.8642, allocations: 1.191 MB / 1.275 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.8642, allocations: 7.875 kB / 1.275 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.8643, allocations: 3.938 kB / 1.275 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.8644, allocations: 11.86 kB / 1.275 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.8649, allocations: 147 kB / 1.275 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.8651, allocations: 111.8 kB / 1.275 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8652, allocations: 19.97 kB / 1.275 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.8653, allocations: 43.86 kB / 1.275 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.8654, allocations: 47.86 kB / 1.275 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.8655, allocations: 12 kB / 1.275 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.8655, allocations: 23.98 kB / 1.275 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.8656, allocations: 15.92 kB / 1.275 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.8656, allocations: 35.86 kB / 1.275 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.8658, allocations: 113.5 kB / 1.275 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.8658, allocations: 0 / 1.275 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8658, allocations: 0 / 1.275 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8658, allocations: 4 kB / 1.275 GB, free: 1.895 MB / 0.9669 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.0006746/0.8665, allocations: 409 kB / 1.276 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8666, allocations: 8.031 kB / 1.276 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.8666, allocations: 38.75 kB / 1.276 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.8667, allocations: 16.81 kB / 1.276 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.8668, allocations: 180.2 kB / 1.276 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.8668, allocations: 8.375 kB / 1.276 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.8669, allocations: 4.375 kB / 1.276 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.8671, allocations: 70.22 kB / 1.276 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8671, allocations: 3.938 kB / 1.276 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.8671, allocations: 0 / 1.276 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8671, allocations: 0 / 1.276 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.8673, allocations: 39.95 kB / 1.276 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.8678, allocations: 332.7 kB / 1.276 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.868, allocations: 46.55 kB / 1.276 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.8681, allocations: 24.94 kB / 1.276 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8681, allocations: 0 / 1.276 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.8684, allocations: 91.3 kB / 1.276 GB, free: 476 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.8684, allocations: 0 / 1.276 GB, free: 476 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004716/0.8689, allocations: 137.6 kB / 1.277 GB, free: 332 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.869, allocations: 51.41 kB / 1.277 GB, free: 268 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8691, allocations: 117.8 kB / 1.277 GB, free: 140 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.8691, allocations: 29.7 kB / 1.277 GB, free: 104 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.8692, allocations: 92.09 kB / 1.277 GB, free: 8 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.8693, allocations: 28.05 kB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.8693, allocations: 37.7 kB / 1.277 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8695, allocations: 318.8 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.8697, allocations: 47.97 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.8698, allocations: 79.33 kB / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.8701, allocations: 133 kB / 1.278 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8701, allocations: 0 / 1.278 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004476/0.8706, allocations: 195.2 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.8706, allocations: 43.31 kB / 1.278 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.8706, allocations: 0 / 1.278 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8706, allocations: 4 kB / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.8707, allocations: 15.98 kB / 1.278 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.8707, allocations: 3.938 kB / 1.278 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.8709, allocations: 27.97 kB / 1.278 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.871, allocations: 11.98 kB / 1.278 GB, free: 15.02 MB / 0.9825 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 0.0001104/0.8711, allocations: 125.7 kB / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.8711, allocations: 7.953 kB / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.8714, allocations: 114 kB / 1.278 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8714, allocations: 0 / 1.278 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8714, allocations: 8 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8714, allocations: 0 / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.8719, allocations: 366.8 kB / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8719, allocations: 0 / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.872, allocations: 7.984 kB / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.872, allocations: 4.094 kB / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.872, allocations: 3.984 kB / 1.278 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.872, allocations: 0 / 1.278 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.872, allocations: 4.406 kB / 1.278 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.8723, allocations: 215.5 kB / 1.279 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.8724, allocations: 81.06 kB / 1.279 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.8724, allocations: 4 kB / 1.279 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.8725, allocations: 7.984 kB / 1.279 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.8725, allocations: 11.86 kB / 1.279 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.8726, allocations: 8 kB / 1.279 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.8726, allocations: 83.28 kB / 1.279 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8726, allocations: 0 / 1.279 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002659/0.8729, allocations: 35.92 kB / 1.279 GB, free: 13.84 MB / 0.9825 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.0007375/0.8736, allocations: 0.7441 MB / 1.28 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.874, allocations: 155.3 kB / 1.28 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.874, allocations: 0 / 1.28 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.8741, allocations: 35.97 kB / 1.28 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.8744, allocations: 11.92 kB / 1.28 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.8766, allocations: 1.657 MB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8769, allocations: 0.6846 MB / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.8769, allocations: 7.984 kB / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.877, allocations: 19.44 kB / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.877, allocations: 0 / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.9039, allocations: 2.457 MB / 1.284 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/9.232, allocations: 9.25 kB / 1.284 GB, free: 8.004 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.251834087073803]