Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008343/0.0008343, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008585/0.0008585, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8908/0.8908, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.9 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9823 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.576e-05, allocations: 2.281 kB / 0.9823 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001052/0.001068, allocations: 0.6666 MB / 0.9829 GB, free: 208 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.00176, allocations: 0.8431 MB / 0.9837 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.001789, allocations: 4 kB / 0.9837 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.001813, allocations: 3.938 kB / 0.9837 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.001863, allocations: 4 kB / 0.9837 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.002028, allocations: 8 kB / 0.9838 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.002091, allocations: 23.92 kB / 0.9838 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.002172, allocations: 11.94 kB / 0.9838 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.002231, allocations: 15.92 kB / 0.9838 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.051e-05/0.002262, allocations: 11.97 kB / 0.9838 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.002273, allocations: 0 / 0.9838 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.00231, allocations: 8 kB / 0.9838 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.002322, allocations: 0 / 0.9838 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.00234, allocations: 11.94 kB / 0.9838 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.425e-05/0.002424, allocations: 27.89 kB / 0.9839 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002426, allocations: 0 / 0.9839 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002426, allocations: 0 / 0.9839 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.00243, allocations: 4 kB / 0.9839 GB, free: 15.21 MB / 0.9011 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.0003037/0.002733, allocations: 268.2 kB / 0.9841 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.002765, allocations: 8.031 kB / 0.9841 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.002824, allocations: 0.9375 kB / 0.9841 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.755e-05/0.002901, allocations: 121.7 kB / 0.9842 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.002912, allocations: 384 / 0.9842 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.00292, allocations: 4.375 kB / 0.9843 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003038, allocations: 42.25 kB / 0.9843 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.003045, allocations: 192 / 0.9843 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.003057, allocations: 16.3 kB / 0.9843 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.003061, allocations: 384 / 0.9843 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.003145, allocations: 31.91 kB / 0.9843 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.003373, allocations: 188.6 kB / 0.9845 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.003448, allocations: 38.59 kB / 0.9846 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.003491, allocations: 28.84 kB / 0.9846 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.003506, allocations: 4 kB / 0.9846 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.003524, allocations: 34.5 kB / 0.9846 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003525, allocations: 0 / 0.9846 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.003732, allocations: 85.58 kB / 0.9847 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.003762, allocations: 55.34 kB / 0.9848 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.394e-05/0.003816, allocations: 105.8 kB / 0.9849 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.003826, allocations: 25.7 kB / 0.9849 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.003859, allocations: 84.08 kB / 0.985 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.003875, allocations: 8.078 kB / 0.985 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.003899, allocations: 17.72 kB / 0.985 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.003985, allocations: 314.8 kB / 0.9853 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.004025, allocations: 15.98 kB / 0.9853 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.00406, allocations: 19.92 kB / 0.9853 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.004137, allocations: 36.83 kB / 0.9854 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.004139, allocations: 4.062 kB / 0.9854 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.968e-05/0.004239, allocations: 65.61 kB / 0.9854 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.004249, allocations: 8 kB / 0.9854 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.004255, allocations: 3.938 kB / 0.9854 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.004266, allocations: 0 / 0.9854 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.004321, allocations: 11.98 kB / 0.9854 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.004325, allocations: 0 / 0.9854 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.004346, allocations: 7.984 kB / 0.9855 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.004351, allocations: 4.031 kB / 0.9855 GB, free: 13.41 MB / 0.9011 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 4.967e-05/0.004401, allocations: 109.8 kB / 0.9856 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.004412, allocations: 7.938 kB / 0.9856 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.004535, allocations: 68.91 kB / 0.9856 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004537, allocations: 0 / 0.9856 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.004541, allocations: 0 / 0.9856 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.004545, allocations: 4 kB / 0.9856 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.358e-05/0.004628, allocations: 105.3 kB / 0.9857 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.004629, allocations: 8.031 kB / 0.9857 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.004651, allocations: 7.984 kB / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004652, allocations: 0 / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.004658, allocations: 0 / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.00466, allocations: 3.938 kB / 0.9858 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004661, allocations: 4 kB / 0.9858 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.004779, allocations: 163.6 kB / 0.9859 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.004786, allocations: 7.938 kB / 0.9859 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.004793, allocations: 4.031 kB / 0.9859 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.004831, allocations: 11.92 kB / 0.9859 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.004859, allocations: 3.938 kB / 0.9859 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.004861, allocations: 7.938 kB / 0.9859 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.004893, allocations: 83.28 kB / 0.986 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.004893, allocations: 0 / 0.986 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00014/0.005033, allocations: 7.984 kB / 0.986 GB, free: 12.76 MB / 0.9011 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 6.533e-05/0.005098, allocations: 91.25 kB / 0.9861 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.005216, allocations: 35.97 kB / 0.9862 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005218, allocations: 0 / 0.9862 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.005259, allocations: 27.91 kB / 0.9862 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.005438, allocations: 10.34 kB / 0.9862 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.005652, allocations: 134.5 kB / 0.9863 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.005688, allocations: 59.34 kB / 0.9864 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.005711, allocations: 16.62 kB / 0.9864 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of SimCode: time 3.71e-07/0.005712, allocations: 0 / 0.9864 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of Templates: time 0.001283/0.006994, allocations: 0.5596 MB / 0.9869 GB, free: 11.77 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.578451277688146]