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.001141/0.001141, allocations: 89.06 kB / 19.64 MB, free: 276 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.001182/0.001182, allocations: 169 kB / 23.02 MB, free: 1.547 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.9585/0.9585, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 2.136/2.136, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.196e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001438/0.00146, allocations: 0.6846 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002479, allocations: 0.8658 MB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.002515, allocations: 4 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.002558, allocations: 9.578 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.002637, allocations: 1.75 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.002844, allocations: 9.094 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.08e-05/0.002915, allocations: 23.92 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.003014, allocations: 8.484 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.003089, allocations: 17.55 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.003128, allocations: 11.98 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003143, allocations: 3.938 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.471e-05/0.003188, allocations: 7.938 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.003204, allocations: 4.562 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.003223, allocations: 4 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003327, allocations: 29.23 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003329, allocations: 4 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00333, allocations: 0 / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.003335, allocations: 1.594 kB / 0.8799 GB, free: 4.574 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.0003537/0.003689, allocations: 360.6 kB / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.003726, allocations: 8.031 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.733e-05/0.003823, allocations: 4.938 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.223e-05/0.003905, allocations: 114.2 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.003917, allocations: 4.375 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.003927, allocations: 384 / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.004055, allocations: 54.95 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004063, allocations: 3.062 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.004073, allocations: 384 / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.00408, allocations: 4.312 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.00411, allocations: 7.938 kB / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.004392, allocations: 243.8 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.359e-05/0.004445, allocations: 35.05 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.004468, allocations: 11.75 kB / 0.8807 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.004489, allocations: 4 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.004511, allocations: 37.33 kB / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004512, allocations: 0 / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.004659, allocations: 45.62 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.004688, allocations: 55.41 kB / 0.8808 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.004758, allocations: 153.9 kB / 0.881 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.004768, allocations: 25.7 kB / 0.881 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.004812, allocations: 138.8 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.004828, allocations: 3.953 kB / 0.8811 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.004851, allocations: 19.38 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.004965, allocations: 0.4885 MB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.004979, allocations: 4 kB / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.004988, allocations: 0 / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.005013, allocations: 19.61 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005015, allocations: 0 / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.205e-05/0.005067, allocations: 41.66 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005078, allocations: 8 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-06/0.005086, allocations: 7.938 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.005098, allocations: 0 / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.00517, allocations: 12.08 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.005175, allocations: 0 / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.005192, allocations: 7.938 kB / 0.8817 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.005196, allocations: 0 / 0.8817 GB, free: 2.473 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 6.459e-05/0.00526, allocations: 156.6 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.005273, allocations: 3.938 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.005355, allocations: 48.94 kB / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005356, allocations: 0 / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00536, allocations: 0 / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005363, allocations: 0 / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.005457, allocations: 120.7 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005458, allocations: 0 / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.00548, allocations: 4 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.005482, allocations: 0 / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.005488, allocations: 4 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.005489, allocations: 3.938 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005491, allocations: 3.984 kB / 0.8821 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.42e-05/0.005575, allocations: 183.9 kB / 0.8822 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.005583, allocations: 7.953 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.005593, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.005625, allocations: 15.95 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.005657, allocations: 0 / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.005659, allocations: 0 / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.005695, allocations: 127.2 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005695, allocations: 3.938 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000138/0.005833, allocations: 7.984 kB / 0.8824 GB, free: 1.723 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 6.754e-05/0.005901, allocations: 91.25 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.936e-05/0.00597, allocations: 11.69 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.005972, allocations: 4 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.005989, allocations: 15.69 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.006169, allocations: 11.98 kB / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.006607, allocations: 118.4 kB / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.006641, allocations: 51.36 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.412e-05/0.006655, allocations: 4 kB / 0.8827 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.006681, allocations: 8.562 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of SimCode: time 8.01e-07/0.006682, allocations: 4 kB / 0.8827 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of Templates: time 0.002034/0.008716, allocations: 497.6 kB / 0.8832 GB, free: 0.8711 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=240 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.549944752827287]