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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 182.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 13.84 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3483, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001004/0.3494, allocations: 400.5 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3505, allocations: 0.8118 MB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.3505, allocations: 4 kB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.3506, allocations: 0 / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.3506, allocations: 3.938 kB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3508, allocations: 7.984 kB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.3509, allocations: 27.94 kB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.351, allocations: 3.984 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.586e-05/0.3511, allocations: 7.938 kB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.3511, allocations: 11.98 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3511, allocations: 0 / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.3511, allocations: 0 / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3512, allocations: 11.92 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.3512, allocations: 29.7 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.674e-05/0.3513, allocations: 19.91 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3513, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3513, allocations: 4 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3513, allocations: 0 / 1.061 GB, free: 3.602 MB / 0.8106 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.0004805/0.3518, allocations: 339.7 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3519, allocations: 11.97 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.3519, allocations: 8.875 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.352, allocations: 168.3 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.352, allocations: 384 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3521, allocations: 8.375 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3523, allocations: 58.17 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3523, allocations: 192 / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3523, allocations: 3.938 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3523, allocations: 0 / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3525, allocations: 43.97 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3529, allocations: 245 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.353, allocations: 50.44 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.3531, allocations: 24.91 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3532, allocations: 4 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3532, allocations: 38.55 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3532, allocations: 0 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003838/0.3536, allocations: 89.66 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3536, allocations: 55.39 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.3537, allocations: 102 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3537, allocations: 29.7 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3538, allocations: 88.14 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3538, allocations: 3.906 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.3538, allocations: 13.66 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3539, allocations: 314.8 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.354, allocations: 23.98 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.3541, allocations: 23.98 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3543, allocations: 48.81 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3543, allocations: 4.062 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002187/0.3545, allocations: 77.61 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3546, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3546, allocations: 4 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3546, allocations: 3.938 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.3547, allocations: 16.02 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3547, allocations: 7.938 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.3548, allocations: 7.984 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.3548, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 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 7.633e-05/0.3549, allocations: 115.8 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3549, allocations: 3.906 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.3552, allocations: 84.78 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3552, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3552, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3552, allocations: 3.984 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.3554, allocations: 157.6 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3554, allocations: 7.969 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.3554, allocations: 15.98 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3554, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3555, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3555, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3555, allocations: 3.938 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3557, allocations: 175.5 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.3558, allocations: 81.11 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3558, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.3559, allocations: 7.984 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3559, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3559, allocations: 4.031 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.356, allocations: 79.28 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.356, allocations: 0 / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000222/0.3562, allocations: 11.94 kB / 1.063 GB, free: 0.6562 MB / 0.8106 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.0001489/0.3564, allocations: 99.23 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3566, allocations: 51.91 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3566, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3567, allocations: 23.97 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.357, allocations: 10.19 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3573, allocations: 148.6 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3576, allocations: 0.677 MB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.3576, allocations: 7.438 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3576, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.001935/0.3596, allocations: 0.5443 MB / 1.065 GB, free: 15.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches