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.001853/0.001853, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 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.002398/0.002398, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.369/3.369, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.714e-06/1.714e-06, allocations: 0 / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.705e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001711/0.001738, allocations: 0.6057 MB / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.003729, allocations: 1.132 MB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.013e-05/0.003769, allocations: 0.7656 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.0038, allocations: 5.031 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.003873, allocations: 1.859 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.004379, allocations: 117 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.004583, allocations: 96.91 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.004657, allocations: 0 / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.004775, allocations: 47.91 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004876, allocations: 32.59 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.004903, allocations: 8 kB / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.004967, allocations: 12.97 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.004988, allocations: 7.984 kB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.005048, allocations: 23.98 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.005243, allocations: 108.4 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005246, allocations: 0 / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005247, allocations: 0.5312 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.00525, allocations: 3.438 kB / 0.8797 GB, free: 4.359 MB / 0.8386 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.0005063/0.005757, allocations: 296 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.00579, allocations: 8.031 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.005848, allocations: 4.938 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.005966, allocations: 117.7 kB / 0.8801 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.005982, allocations: 4.375 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.006003, allocations: 4.375 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.006117, allocations: 59.95 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006126, allocations: 192 / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.00614, allocations: 12.91 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.006144, allocations: 0.9688 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.006169, allocations: 7.938 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.00655, allocations: 221.5 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.006606, allocations: 18.58 kB / 0.8804 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.006623, allocations: 5.609 kB / 0.8804 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.006636, allocations: 3.984 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.006801, allocations: 90.62 kB / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.006802, allocations: 0 / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002152/0.007017, allocations: 69.58 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.007067, allocations: 59.41 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007179, allocations: 117.7 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.00721, allocations: 25.7 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.007291, allocations: 88.08 kB / 0.8809 GB, free: 3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.007308, allocations: 11.94 kB / 0.8809 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.007386, allocations: 29.7 kB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.00757, allocations: 314.8 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.007679, allocations: 61.69 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.007802, allocations: 76.56 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.007946, allocations: 92.2 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.007948, allocations: 0 / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003533/0.008302, allocations: 177 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.008358, allocations: 47.97 kB / 0.8816 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.008364, allocations: 0 / 0.8816 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.008384, allocations: 0 / 0.8816 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.991e-05/0.008404, allocations: 4 kB / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.00841, allocations: 0 / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.008624, allocations: 23.97 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.008646, allocations: 12.08 kB / 0.8817 GB, free: 2.094 MB / 0.8386 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.0001136/0.00876, allocations: 113.8 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.008777, allocations: 7.953 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.008802, allocations: 7.938 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008804, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.008809, allocations: 4 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.008812, allocations: 0 / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.008933, allocations: 105.3 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008934, allocations: 0 / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.008939, allocations: 0 / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.008941, allocations: 7.938 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.008947, allocations: 4 kB / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.008956, allocations: 7.922 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008957, allocations: 0 / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.009087, allocations: 77.12 kB / 0.882 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.009096, allocations: 3.953 kB / 0.882 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.00912, allocations: 4 kB / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.009139, allocations: 3.938 kB / 0.882 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.009172, allocations: 4.266 kB / 0.882 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.009182, allocations: 11.94 kB / 0.882 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.009239, allocations: 79.28 kB / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.009239, allocations: 4 kB / 0.8821 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002188/0.009457, allocations: 16 kB / 0.8821 GB, free: 1.582 MB / 0.8386 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.0001653/0.009623, allocations: 103.2 kB / 0.8822 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.009867, allocations: 137 kB / 0.8823 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.009869, allocations: 0 / 0.8823 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.009908, allocations: 19.97 kB / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01013, allocations: 4.188 kB / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.01044, allocations: 135.3 kB / 0.8825 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.0105, allocations: 63.34 kB / 0.8826 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.01053, allocations: 7.984 kB / 0.8826 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.01055, allocations: 12.5 kB / 0.8826 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.01055, allocations: 0 / 0.8826 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of Templates: time 0.004352/0.0149, allocations: 1.189 MB / 0.8837 GB, free: 15.88 MB / 0.8542 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: 8.580136678996496]