Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.0009114/0.0009114, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.00227, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008045/0.0008045, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001894, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/1.16, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.542/2.542, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2555/2.798, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.186e-05, allocations: 2.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001848/0.00187, allocations: 0.7225 MB / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.002693, allocations: 0.8702 MB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.002719, allocations: 0 / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.00274, allocations: 4 kB / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.887e-05/0.002769, allocations: 0 / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.798e-05/0.002847, allocations: 19.84 kB / 0.8206 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.002908, allocations: 27.92 kB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.002976, allocations: 7.938 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.00305, allocations: 15.98 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.003089, allocations: 11.98 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.003101, allocations: 0 / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.003154, allocations: 8 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.003168, allocations: 3.938 kB / 0.8207 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.003182, allocations: 4 kB / 0.8207 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.009326, allocations: 23.97 kB / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.681e-05/0.009342, allocations: 0 / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.009343, allocations: 0 / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.009357, allocations: 0 / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003565/0.009713, allocations: 236.6 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.009746, allocations: 11.97 kB / 0.8209 GB, free: 432 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.009881, allocations: 86.03 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.009966, allocations: 113.7 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.009976, allocations: 384 / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.009986, allocations: 4.375 kB / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.01008, allocations: 50.95 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.01009, allocations: 192 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.0101, allocations: 384 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.0101, allocations: 384 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.01012, allocations: 11.92 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.01038, allocations: 144.3 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.01043, allocations: 30.55 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.01045, allocations: 8.922 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.01046, allocations: 0 / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.01049, allocations: 34.56 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.01049, allocations: 0 / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.01061, allocations: 29.7 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.01064, allocations: 63.28 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.0107, allocations: 106.7 kB / 0.8216 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.01071, allocations: 29.83 kB / 0.8216 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.01074, allocations: 80.14 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.01076, allocations: 15.89 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.01079, allocations: 13.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.01088, allocations: 314.8 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.01089, allocations: 0 / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.0109, allocations: 0 / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.01093, allocations: 16.84 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01093, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.997e-05/0.01099, allocations: 37.72 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.011, allocations: 12 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01101, allocations: 4 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01103, allocations: 192 / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.0111, allocations: 11.92 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.01111, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.01113, allocations: 4 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.01113, allocations: 3.984 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.329e-05/0.01119, allocations: 109.8 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.01121, allocations: 8 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.01128, allocations: 41 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01129, allocations: 0 / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.01129, allocations: 7.938 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.01129, allocations: 0 / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.01139, allocations: 65.89 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0114, allocations: 0 / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.01143, allocations: 7.938 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.01144, allocations: 7.953 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01144, allocations: 3.984 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.01145, allocations: 0 / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01145, allocations: 0 / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01145, allocations: 7.969 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.822e-05/0.01153, allocations: 127.6 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.01154, allocations: 3.984 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.01158, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.01161, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.01161, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.513e-05/0.01163, allocations: 12.78 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01163, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001666/0.01179, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001118/0.01191, allocations: 88.38 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.01197, allocations: 12.86 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.01197, allocations: 4 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/0.01502, allocations: 12.86 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.01523, allocations: 37.62 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.01593, allocations: 123 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.01597, allocations: 59.34 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.01599, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.01604, allocations: 51.38 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.01604, allocations: 0 / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.005142/0.02118, allocations: 482.2 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.474512928165495]