Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.002039/0.002039, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002623/0.002623, allocations: 200.1 kB / 22.17 MB, free: 5.211 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.539/1.539, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.845, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001862/0.8469, allocations: 0.5888 MB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.8483, allocations: 1.12 MB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.8484, allocations: 4 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.8484, allocations: 0 / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.8485, allocations: 11.91 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.8489, allocations: 123.6 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.8491, allocations: 79.89 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.8492, allocations: 4 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.8492, allocations: 47.83 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.8493, allocations: 27.91 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.8494, allocations: 15.94 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.8494, allocations: 23.98 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.8494, allocations: 0 / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.8495, allocations: 31.89 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.8496, allocations: 82.47 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8496, allocations: 0 / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8496, allocations: 4 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.8497, allocations: 0 / 1.276 GB, free: 2.375 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005296/0.8502, allocations: 379.5 kB / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.8502, allocations: 12.03 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.8503, allocations: 12.89 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.8504, allocations: 160.4 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8504, allocations: 4.375 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.8504, allocations: 4.375 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.8505, allocations: 42.19 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8505, allocations: 192 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8506, allocations: 7.938 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.8506, allocations: 4 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.8506, allocations: 0 / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.851, allocations: 288.9 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.018e-05/0.851, allocations: 22.5 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.851, allocations: 16.86 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-06/0.851, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.8512, allocations: 63.34 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.8512, allocations: 4 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001873/0.8514, allocations: 53.69 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.8514, allocations: 59.34 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.8515, allocations: 109.8 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.8515, allocations: 29.7 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.8516, allocations: 84.14 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.8516, allocations: 9.5 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.8517, allocations: 29.7 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8518, allocations: 318.8 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.8519, allocations: 27.98 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.852, allocations: 46.75 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.8521, allocations: 88.17 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8521, allocations: 3.938 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002475/0.8523, allocations: 151.2 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.8524, allocations: 43.41 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8524, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8524, allocations: 4 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.5e-05/0.8524, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.8524, allocations: 3.938 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.8526, allocations: 23.97 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.8526, allocations: 11.98 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.000111/0.8528, allocations: 122.4 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.8528, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.8528, allocations: 3.906 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8528, allocations: 4 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8528, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8528, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.8529, allocations: 165.6 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8529, allocations: 0 / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-06/0.8529, allocations: 7.938 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.8529, allocations: 4.312 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.853, allocations: 4 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.853, allocations: 4 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.853, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.8531, allocations: 81.02 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.8531, allocations: 85.09 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.8531, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.8531, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.8532, allocations: 8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.8532, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.8532, allocations: 87.27 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8532, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002057/0.8534, allocations: 16 kB / 1.279 GB, free: 15.36 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001363/0.8536, allocations: 99.25 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.8538, allocations: 107.3 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8538, allocations: 192 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.8538, allocations: 23.92 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.854, allocations: 7.938 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.8543, allocations: 136.9 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.8546, allocations: 0.6768 MB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.8547, allocations: 3.984 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.8547, allocations: 11.44 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8547, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.003672/0.8584, allocations: 1.077 MB / 1.281 GB, free: 13.15 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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: 8.916550262831151]