Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001487/0.001487, allocations: 109.8 kB / 15.99 MB, free: 6.34 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.001468/0.001468, allocations: 195.1 kB / 16.91 MB, free: 6.18 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 73.27 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3072, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00203/0.3092, allocations: 0.7183 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3103, allocations: 0.8118 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.3103, allocations: 4 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.3104, allocations: 4 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.3105, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.3106, allocations: 7.984 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.3107, allocations: 23.92 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.3108, allocations: 4 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.3108, allocations: 15.92 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.3109, allocations: 7.984 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3109, allocations: 4 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.3109, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3109, allocations: 11.94 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.311, allocations: 19.86 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.676e-05/0.311, allocations: 11.98 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.311, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.397e-06/0.311, allocations: 7.922 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3111, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 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.000469/0.3115, allocations: 327.8 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3116, allocations: 16.02 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.3116, allocations: 4.844 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3118, allocations: 164.4 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3118, allocations: 384 / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3118, allocations: 8.375 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.312, allocations: 46.23 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.312, allocations: 192 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.312, allocations: 11.92 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.312, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.3122, allocations: 39.89 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.3127, allocations: 245 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3128, allocations: 38.5 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.3129, allocations: 20.89 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.313, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.313, allocations: 34.56 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.313, allocations: 4 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003738/0.3134, allocations: 81.58 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.3135, allocations: 51.41 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3136, allocations: 101.9 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3136, allocations: 29.83 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.3137, allocations: 84.05 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3137, allocations: 7.969 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.3138, allocations: 17.72 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3139, allocations: 310.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.314, allocations: 15.98 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.3141, allocations: 15.98 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3143, allocations: 44.81 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3143, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.3145, allocations: 69.5 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3145, allocations: 8 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3145, allocations: 3.938 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3145, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.3147, allocations: 12.03 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3147, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.3147, allocations: 7.984 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3147, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 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.69e-05/0.3148, allocations: 114.4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3149, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3151, allocations: 84.7 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3151, allocations: 3.938 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3151, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3151, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3153, allocations: 157.6 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3153, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.3154, allocations: 11.98 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3154, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3154, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3154, allocations: 3.984 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3154, allocations: 4.031 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3157, allocations: 167.4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.3157, allocations: 81.02 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3158, allocations: 4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.3158, allocations: 3.984 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3159, allocations: 8.031 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3159, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.3159, allocations: 83.27 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002092/0.3162, allocations: 11.94 kB / 1.068 GB, free: 10.57 MB / 0.8419 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.000151/0.3163, allocations: 95.25 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.3165, allocations: 39.97 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3165, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.3166, allocations: 23.91 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3169, allocations: 9.766 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.3172, allocations: 135.9 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3176, allocations: 0.6808 MB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3176, allocations: 7.438 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3176, allocations: 3.938 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of Templates: time 0.001917/0.3195, allocations: 0.5448 MB / 1.07 GB, free: 8.969 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches