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.000993/0.000993, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001009/0.001009, allocations: 173 kB / 23.49 MB, free: 1.055 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.9553/0.9553, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.098/2.098, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.636e-05, allocations: 6.312 kB / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001105/0.001122, allocations: 0.6785 MB / 0.8789 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.00187, allocations: 0.8658 MB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.001899, allocations: 0.5625 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.001921, allocations: 4 kB / 0.8798 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.001983, allocations: 6.875 kB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.002148, allocations: 13.08 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.002215, allocations: 23.92 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.728e-05/0.002292, allocations: 5.094 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.002359, allocations: 19.91 kB / 0.8798 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.849e-05/0.002388, allocations: 4 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.0024, allocations: 4.656 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.002439, allocations: 8.719 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.002453, allocations: 3.984 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.00247, allocations: 9.312 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.002557, allocations: 19.91 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.002559, allocations: 0 / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002559, allocations: 0 / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002563, allocations: 5.031 kB / 0.8799 GB, free: 4.922 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.0003071/0.00287, allocations: 360.6 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.002903, allocations: 13.16 kB / 0.8802 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.003002, allocations: 8.875 kB / 0.8802 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.003083, allocations: 112.6 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003093, allocations: 1.406 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.003102, allocations: 4.375 kB / 0.8804 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.003211, allocations: 50.95 kB / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.003217, allocations: 1.312 kB / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.003225, allocations: 384 / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.003231, allocations: 384 / 0.8804 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.003262, allocations: 12.7 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.003525, allocations: 247.8 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.003571, allocations: 30.06 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.003591, allocations: 15.72 kB / 0.8807 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.003607, allocations: 4.062 kB / 0.8807 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.003627, allocations: 33.39 kB / 0.8807 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.003628, allocations: 0 / 0.8807 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.003756, allocations: 41.58 kB / 0.8808 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.003782, allocations: 52.94 kB / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.00385, allocations: 169.9 kB / 0.881 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.485e-06/0.003858, allocations: 25.7 kB / 0.881 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.0039, allocations: 130.8 kB / 0.8811 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.003915, allocations: 8.578 kB / 0.8812 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.003938, allocations: 19.38 kB / 0.8812 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.004039, allocations: 497.8 kB / 0.8816 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.004051, allocations: 4 kB / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.004059, allocations: 0 / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.004086, allocations: 17.31 kB / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.004087, allocations: 0 / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.696e-05/0.004134, allocations: 45.59 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.004149, allocations: 14.48 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004153, allocations: 4.844 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.004165, allocations: 0 / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.004218, allocations: 4.625 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.004225, allocations: 3.984 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.004242, allocations: 13.53 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.004245, allocations: 0 / 0.8817 GB, free: 2.82 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 5.506e-05/0.0043, allocations: 156.6 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.004314, allocations: 4.219 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.004386, allocations: 56.88 kB / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004387, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.00439, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004393, allocations: 0 / 0.882 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.206e-05/0.004475, allocations: 112.6 kB / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004476, allocations: 0 / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.004494, allocations: 7.984 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004495, allocations: 0 / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.0045, allocations: 0 / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.004503, allocations: 7.938 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004503, allocations: 32 / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.669e-05/0.00458, allocations: 184 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.004587, allocations: 11.95 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.004595, allocations: 0 / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.004624, allocations: 3.938 kB / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.004656, allocations: 11.92 kB / 0.8823 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.004657, allocations: 0 / 0.8823 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.004688, allocations: 123.2 kB / 0.8824 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004688, allocations: 3.938 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001409/0.004829, allocations: 4 kB / 0.8824 GB, free: 2.074 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.335e-05/0.004892, allocations: 95.28 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.004963, allocations: 19.67 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.004964, allocations: 0 / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.004979, allocations: 11.69 kB / 0.8825 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.00515, allocations: 4 kB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.005536, allocations: 126.5 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.005568, allocations: 55.34 kB / 0.8827 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.005583, allocations: 4 kB / 0.8827 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.005605, allocations: 8.5 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.005606, allocations: 0 / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of Templates: time 0.001787/0.007393, allocations: 486.2 kB / 0.8832 GB, free: 1.23 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.400552646024153]