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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001438/0.001438, allocations: 188.9 kB / 16.13 MB, free: 6.645 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 72.27 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3317, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002079/0.3338, allocations: 0.7378 MB / 1.053 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.3348, allocations: 0.8079 MB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.3348, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.3349, allocations: 4 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.335, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.3351, allocations: 15.92 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.3352, allocations: 16 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3353, allocations: 7.984 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.494e-05/0.3354, allocations: 11.94 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.3354, allocations: 11.92 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3354, allocations: 0 / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-06/0.3354, allocations: 0 / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.3355, allocations: 7.922 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3355, allocations: 12 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.84e-05/0.3356, allocations: 23.91 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3356, allocations: 0 / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3356, allocations: 0 / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3356, allocations: 0 / 1.054 GB, free: 7.219 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.0005014/0.3361, allocations: 339.7 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3362, allocations: 8.031 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3362, allocations: 12.77 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3364, allocations: 168.4 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3364, allocations: 384 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3364, allocations: 384 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3366, allocations: 50.23 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3366, allocations: 192 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3366, allocations: 3.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3366, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.3368, allocations: 39.89 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.3372, allocations: 249 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3373, allocations: 42.44 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.3374, allocations: 20.91 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3375, allocations: 7.984 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3375, allocations: 34.56 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3375, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003613/0.3379, allocations: 81.59 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3379, allocations: 55.39 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.338, allocations: 97.86 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.338, allocations: 25.7 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.3381, allocations: 84.27 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3381, allocations: 7.906 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.3382, allocations: 17.7 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3383, allocations: 310.8 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.3384, allocations: 15.98 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.3385, allocations: 15.98 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3386, allocations: 52.81 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3386, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.3388, allocations: 69.52 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3389, allocations: 7.984 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3389, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3389, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.339, allocations: 12.03 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.339, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.3391, allocations: 7.984 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.3391, allocations: 0 / 1.055 GB, free: 5.191 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 9.054e-05/0.3392, allocations: 113.8 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3392, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.3394, allocations: 80.7 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3395, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3395, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3395, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3397, allocations: 157.6 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3397, allocations: 7.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3397, allocations: 7.984 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3397, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3398, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3398, allocations: 3.938 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3398, allocations: 8.031 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.34, allocations: 159.4 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3401, allocations: 81.11 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3401, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.3402, allocations: 11.98 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3402, allocations: 32 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.3402, allocations: 4 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.3403, allocations: 83.27 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002124/0.3405, allocations: 7.938 kB / 1.056 GB, free: 4.379 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.0001729/0.3407, allocations: 95.25 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3409, allocations: 39.97 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3409, allocations: 4 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.567e-05/0.341, allocations: 23.91 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3413, allocations: 3.938 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.3417, allocations: 119.8 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.342, allocations: 0.6772 MB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.3421, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3421, allocations: 11.44 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of SimCode: time 1.853e-06/0.3421, allocations: 0 / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of Templates: time 0.002975/0.3451, allocations: 378.3 kB / 1.057 GB, free: 2.977 MB / 0.8106 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