Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001808/0.001808, allocations: 112.5 kB / 15.73 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.001937/0.001937, allocations: 188.4 kB / 16.66 MB, free: 6.582 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.511/1.511, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.413, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002149/0.4152, allocations: 0.6595 MB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.4162, allocations: 0.8315 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.4163, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.4163, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.4164, allocations: 3.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.4166, allocations: 11.98 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.046e-05/0.4166, allocations: 27.92 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4168, allocations: 7.984 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.4168, allocations: 4 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.4169, allocations: 15.92 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.4169, allocations: 4 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.4169, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.417, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.417, allocations: 11.94 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.4171, allocations: 23.89 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4171, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4171, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.4171, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 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.0005625/0.4177, allocations: 343.4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4177, allocations: 8.031 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.4178, allocations: 4.922 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.418, allocations: 168.3 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.418, allocations: 384 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.418, allocations: 8.312 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4182, allocations: 50.23 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.4182, allocations: 192 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4182, allocations: 3.938 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4182, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.4184, allocations: 31.97 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.4187, allocations: 249 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4189, allocations: 42.44 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.419, allocations: 20.91 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.419, allocations: 4 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.419, allocations: 34.55 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.419, allocations: 4 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.4194, allocations: 77.66 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4194, allocations: 55.39 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.4195, allocations: 97.8 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4195, allocations: 29.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.4196, allocations: 80.14 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4196, allocations: 8.078 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.4196, allocations: 17.7 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4197, allocations: 322.8 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.4198, allocations: 15.92 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.4199, allocations: 15.98 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.4201, allocations: 44.88 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4201, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001744/0.4202, allocations: 69.56 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4203, allocations: 10.17 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4203, allocations: 3.938 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4203, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.4204, allocations: 8 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4204, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.4204, allocations: 12.02 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.4205, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 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.536e-05/0.4205, allocations: 113.8 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.4206, allocations: 4 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4208, allocations: 68.77 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4208, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4208, allocations: 4.031 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4208, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.421, allocations: 161.5 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.421, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.4211, allocations: 12.11 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4211, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.4211, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4211, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4211, allocations: 7.984 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.4214, allocations: 159.5 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.4214, allocations: 85.06 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.4214, allocations: 0 / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.4215, allocations: 7.984 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.4216, allocations: 4 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.4216, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.4216, allocations: 87.3 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4216, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002027/0.4218, allocations: 4 kB / 1.171 GB, free: 2.332 MB / 0.92 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.0001368/0.422, allocations: 100.9 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.4222, allocations: 35.91 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4222, allocations: 3.938 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.4223, allocations: 28.03 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4226, allocations: 11.92 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.4228, allocations: 109.9 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.4231, allocations: 0.6768 MB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.4231, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.4232, allocations: 11.44 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of SimCode: time 1.583e-06/0.4232, allocations: 4.062 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of Templates: time 0.002328/0.4255, allocations: 422.3 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches