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.001711/0.001711, allocations: 88.72 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.002182/0.002182, 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.242/3.242, allocations: 429.6 MB / 0.673 GB, free: 3.891 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.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 2.144e-06/2.144e-06, allocations: 0 / 0.8777 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.627e-05, allocations: 3.094 kB / 0.8777 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002266/0.002302, allocations: 0.6689 MB / 0.8783 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003711, allocations: 0.8502 MB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.00375, allocations: 0 / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.003779, allocations: 1.094 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.003848, allocations: 8.203 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.004036, allocations: 11.98 kB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.004116, allocations: 24.98 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.004203, allocations: 4 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.004283, allocations: 15.97 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.004321, allocations: 9.094 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.004335, allocations: 0 / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.004379, allocations: 7.984 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.004399, allocations: 12.66 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.004422, allocations: 0 / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.004552, allocations: 37.36 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004555, allocations: 0 / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004555, allocations: 0 / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.00456, allocations: 0 / 0.8793 GB, free: 4.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000505/0.005065, allocations: 263.2 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.005107, allocations: 9.125 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.005221, allocations: 8.875 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.00535, allocations: 113.7 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.005363, allocations: 0.9062 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.005372, allocations: 4.312 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.00558, allocations: 50.89 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005591, allocations: 1.688 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.0056, allocations: 384 / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.005605, allocations: 384 / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.005794, allocations: 47.14 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.006158, allocations: 188.6 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.006306, allocations: 34.56 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.006409, allocations: 24.89 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.006447, allocations: 7.984 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.006489, allocations: 31.78 kB / 0.88 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.00649, allocations: 0 / 0.88 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004027/0.006893, allocations: 91.08 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.006951, allocations: 51.41 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.007047, allocations: 94.95 kB / 0.8802 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.007071, allocations: 29.7 kB / 0.8803 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.007131, allocations: 88.12 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.007154, allocations: 4.078 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.007194, allocations: 17.72 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.007386, allocations: 314.8 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.007478, allocations: 11.98 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.00756, allocations: 23.97 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.007727, allocations: 36.77 kB / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.007732, allocations: 4 kB / 0.8808 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.007944, allocations: 65.72 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.007961, allocations: 10.34 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.007968, allocations: 3.938 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.007987, allocations: 0 / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.008088, allocations: 11.98 kB / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.008094, allocations: 0 / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.008143, allocations: 7.953 kB / 0.8808 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.008151, allocations: 4 kB / 0.8809 GB, free: 3.02 MB / 0.8386 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 9.434e-05/0.008245, allocations: 117.9 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.008274, allocations: 4 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.008544, allocations: 72.84 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008547, allocations: 0 / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.00855, allocations: 3.938 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.008553, allocations: 0 / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.008703, allocations: 105.3 kB / 0.8811 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.008706, allocations: 4 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.008766, allocations: 8.031 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008768, allocations: 0 / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.008774, allocations: 0 / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.008781, allocations: 7.922 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.008784, allocations: 4 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.009179, allocations: 159.5 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.00919, allocations: 7.922 kB / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.009202, allocations: 0 / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.009292, allocations: 11.97 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.009336, allocations: 7.984 kB / 0.8813 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.00934, allocations: 0 / 0.8813 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.009394, allocations: 83.28 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009394, allocations: 0 / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002196/0.009614, allocations: 7.953 kB / 0.8814 GB, free: 2.363 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: 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.0001309/0.009745, allocations: 91.25 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.009969, allocations: 39.95 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00997, allocations: 0 / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.01006, allocations: 23.92 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.01038, allocations: 7.984 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.01072, allocations: 101.6 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.01079, allocations: 63.2 kB / 0.8817 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.01081, allocations: 4.125 kB / 0.8817 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.01085, allocations: 12.5 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.01085, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of Templates: time 0.00312/0.01397, allocations: 478.1 kB / 0.8822 GB, free: 1.512 MB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.212754492997192]