Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.000817/0.000817, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008225/0.0008225, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8745/0.8745, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.758/1.758, allocations: 389 MB / 0.6338 GB, free: 12.72 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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.887e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001196/0.001225, allocations: 0.5857 MB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002324, allocations: 1.14 MB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.002365, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.002391, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.002455, allocations: 7.875 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.002867, allocations: 125.6 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.002993, allocations: 83.88 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.00308, allocations: 8 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.003157, allocations: 47.91 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.00324, allocations: 27.94 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.003262, allocations: 8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.003319, allocations: 20 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.003339, allocations: 3.984 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.003384, allocations: 35.91 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.003535, allocations: 83.84 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.003539, allocations: 7.984 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00354, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003544, allocations: 0 / 1.003 GB, free: 10.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003733/0.003917, allocations: 296 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.003954, allocations: 16.75 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.003997, allocations: 4.938 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.004068, allocations: 109.7 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.004081, allocations: 4.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.004095, allocations: 4.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.004183, allocations: 63.89 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004191, allocations: 4.188 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004201, allocations: 4.375 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004205, allocations: 384 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.004226, allocations: 11.94 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.004511, allocations: 224.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.004552, allocations: 22.56 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.004565, allocations: 8.797 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.004571, allocations: 3.938 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.004691, allocations: 85.16 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004692, allocations: 0 / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.00485, allocations: 65.62 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.004884, allocations: 55.34 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.004946, allocations: 109.8 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.004965, allocations: 29.7 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.005003, allocations: 92.09 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.00501, allocations: 3.938 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.005054, allocations: 29.7 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.00513, allocations: 322.8 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.005192, allocations: 57.69 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.005255, allocations: 80.44 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.00533, allocations: 84.23 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005332, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000181/0.005513, allocations: 188.9 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.005543, allocations: 39.5 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.005548, allocations: 4 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.005559, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-05/0.005573, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.005578, allocations: 4 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.005713, allocations: 27.97 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.005726, allocations: 4 kB / 1.005 GB, free: 8.598 MB / 0.9636 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 6.171e-05/0.005788, allocations: 117.9 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-06/0.005795, allocations: 7.953 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.005816, allocations: 11.94 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005818, allocations: 0 / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.005822, allocations: 0 / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005825, allocations: 0 / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.373e-05/0.005889, allocations: 109.3 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.00589, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.005893, allocations: 4.25 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005894, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.0059, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.005903, allocations: 11.94 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005904, allocations: 0 / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.478e-05/0.005978, allocations: 85.05 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.005984, allocations: 4 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005994, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.006005, allocations: 3.938 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.006029, allocations: 0 / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.006034, allocations: 7.984 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.006064, allocations: 83.28 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006064, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001437/0.006208, allocations: 16 kB / 1.005 GB, free: 8.078 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: 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.0001151/0.006323, allocations: 107.2 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.006486, allocations: 141 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006488, allocations: 0 / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.006509, allocations: 4 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.006672, allocations: 23.91 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.00715, allocations: 153.3 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.00719, allocations: 67.53 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.007206, allocations: 8.5 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.007206, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of Templates: time 0.001728/0.008934, allocations: 0.8935 MB / 1.007 GB, free: 6.617 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.611992268823087]