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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008467/0.008467, allocations: 106.2 kB / 15.74 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001694, allocations: 199 kB / 16.68 MB, free: 5.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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.91 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4131, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00222/0.4154, allocations: 0.675 MB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.4165, allocations: 0.804 MB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.4166, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.4166, allocations: 3.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.4167, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.4169, allocations: 15.92 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.563e-05/0.417, allocations: 23.97 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4171, allocations: 8 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.4172, allocations: 15.92 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.4172, allocations: 3.938 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.4172, allocations: 4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.4173, allocations: 0 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.4173, allocations: 11.92 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.4173, allocations: 8 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.972e-05/0.4174, allocations: 23.89 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4174, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4174, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4175, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 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.0005407/0.418, allocations: 347.4 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4181, allocations: 8.625 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.4181, allocations: 0.9375 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4182, allocations: 172.4 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4182, allocations: 384 / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.4183, allocations: 384 / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.4185, allocations: 50.23 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4185, allocations: 4.188 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4185, allocations: 3.938 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4185, allocations: 0 / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.4187, allocations: 35.91 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.4191, allocations: 244.8 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.4193, allocations: 46.53 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.4194, allocations: 28.84 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4194, allocations: 0 / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4195, allocations: 38.44 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.4195, allocations: 0 / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003647/0.4198, allocations: 85.73 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4199, allocations: 51.41 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.42, allocations: 97.84 kB / 1.21 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.42, allocations: 25.7 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.4201, allocations: 88.14 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.4201, allocations: 3.906 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.4201, allocations: 9.719 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4203, allocations: 322.8 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.4203, allocations: 16.02 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.4204, allocations: 15.98 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4206, allocations: 40.77 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4206, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.4208, allocations: 73.66 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4208, allocations: 4 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4208, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4208, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.421, allocations: 11.98 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.421, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.421, allocations: 7.984 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.421, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 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 8.569e-05/0.4211, allocations: 117.8 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.4212, allocations: 4 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.4214, allocations: 68.72 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4214, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4214, allocations: 4 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4214, allocations: 4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.4216, allocations: 161.6 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4216, allocations: 0 / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.4216, allocations: 12.02 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4217, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.4217, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4217, allocations: 4 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4217, allocations: 3.938 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.4219, allocations: 175.5 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.422, allocations: 81.09 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.422, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.4221, allocations: 7.984 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.4221, allocations: 4 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4222, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.4222, allocations: 79.28 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4222, allocations: 3.938 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002382/0.4224, allocations: 7.938 kB / 1.212 GB, free: 5.129 MB / 0.9669 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.0001727/0.4226, allocations: 107.3 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.4228, allocations: 31.97 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4228, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.4229, allocations: 23.92 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4232, allocations: 11.92 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.4236, allocations: 119.8 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.4239, allocations: 0.6729 MB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.4239, allocations: 4 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.4239, allocations: 7.438 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of SimCode: time 5.1e-07/0.4239, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.002422/0.4264, allocations: 429.8 kB / 1.213 GB, free: 3.672 MB / 0.9669 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/jenkins/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