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.000999/0.000999, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00107/0.00107, allocations: 181 kB / 23.36 MB, free: 1.133 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.9738/0.9738, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.434/2.434, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.323e-05, allocations: 5.406 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001376/0.001399, allocations: 0.6872 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008101/0.002209, allocations: 0.8625 MB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.00224, allocations: 0 / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.002264, allocations: 0 / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.002334, allocations: 7.938 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.002503, allocations: 15.92 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.404e-05/0.002567, allocations: 27.92 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.002637, allocations: 4 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.00271, allocations: 15.97 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.351e-05/0.002744, allocations: 7.984 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002757, allocations: 4 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.002798, allocations: 7.938 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.002813, allocations: 7.938 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.002826, allocations: 4 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.002907, allocations: 15.97 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.00291, allocations: 4 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002911, allocations: 4 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.002915, allocations: 7.984 kB / 0.8403 GB, free: 12.46 MB / 0.8073 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.0002682/0.003183, allocations: 228.9 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.003216, allocations: 8.625 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.003303, allocations: 4.938 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.003381, allocations: 113.7 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.003391, allocations: 4.359 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.003399, allocations: 384 / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.003494, allocations: 58.89 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.003501, allocations: 192 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.003508, allocations: 4.375 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.003514, allocations: 4.359 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.003532, allocations: 7.938 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.003709, allocations: 144.3 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.418e-05/0.003753, allocations: 26.52 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.003767, allocations: 8.922 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.003781, allocations: 0 / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.003801, allocations: 30.56 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.003802, allocations: 0 / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001031/0.003905, allocations: 41.73 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.003934, allocations: 59.28 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.003987, allocations: 110.7 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.003995, allocations: 25.7 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.004022, allocations: 80.14 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.004037, allocations: 3.953 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.00406, allocations: 17.72 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.004132, allocations: 310.8 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.004141, allocations: 4 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.00415, allocations: 7.984 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.004172, allocations: 17.03 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004174, allocations: 0 / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.672e-05/0.00422, allocations: 41.62 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.004232, allocations: 4 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.004236, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004247, allocations: 4 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.004308, allocations: 7.938 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.004311, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.004326, allocations: 3.938 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.00433, allocations: 4 kB / 0.8416 GB, free: 10.94 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 4.844e-05/0.004379, allocations: 113.9 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.004389, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.004453, allocations: 45 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.004455, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.004461, allocations: 7.938 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004464, allocations: 3.938 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.547e-05/0.004539, allocations: 61.91 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00454, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.004562, allocations: 15.92 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.004564, allocations: 4.031 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.004567, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.004568, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004569, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.415e-05/0.004643, allocations: 131.5 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.00465, allocations: 4 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.004658, allocations: 4 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.004699, allocations: 4 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.004726, allocations: 3.984 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.004729, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.396e-05/0.004743, allocations: 12.8 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.004743, allocations: 4.031 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001089/0.004852, allocations: 4 kB / 0.842 GB, free: 10.48 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 9.889e-05/0.004951, allocations: 80.34 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.693e-05/0.005008, allocations: 12.84 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.00501, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.005023, allocations: 8.859 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.00516, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.005521, allocations: 116.8 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.00556, allocations: 59.3 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.005577, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.005625, allocations: 55.38 kB / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.005626, allocations: 0 / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.002164/0.00779, allocations: 462 kB / 0.8428 GB, free: 9.641 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 -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.25808859616518]