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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001361/0.001361, allocations: 101.8 kB / 16.35 MB, free: 5.879 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.001272/0.001272, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.92 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3016, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001801/0.3034, allocations: 0.6642 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000798/0.3042, allocations: 0.8195 MB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.3043, allocations: 0 / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.3043, allocations: 0 / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.3044, allocations: 7.938 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.3045, allocations: 11.98 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.3046, allocations: 27.91 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3047, allocations: 4 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.3048, allocations: 11.94 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.3048, allocations: 7.984 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3048, allocations: 0 / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.3048, allocations: 7.938 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3049, allocations: 4 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.3049, allocations: 11.92 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.947e-05/0.305, allocations: 31.89 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.305, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.305, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.305, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 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.0004226/0.3054, allocations: 339.4 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3055, allocations: 8.922 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.3055, allocations: 8.844 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3056, allocations: 160.4 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3056, allocations: 8.312 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3056, allocations: 4.375 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3058, allocations: 50.17 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3058, allocations: 4.188 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3058, allocations: 3.938 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3058, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.306, allocations: 31.95 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.3064, allocations: 245 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3065, allocations: 42.5 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/0.3066, allocations: 28.83 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3067, allocations: 3.984 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3067, allocations: 30.56 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3067, allocations: 4 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.3071, allocations: 81.64 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3071, allocations: 55.34 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.3072, allocations: 97.86 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3072, allocations: 25.7 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.3073, allocations: 88.25 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3073, allocations: 7.906 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.3074, allocations: 13.72 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3075, allocations: 314.8 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.3076, allocations: 11.98 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.3077, allocations: 23.97 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3078, allocations: 36.89 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3078, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.308, allocations: 73.5 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.308, allocations: 7.938 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.308, allocations: 4 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3081, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.3082, allocations: 7.984 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3082, allocations: 8.016 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.3082, allocations: 4 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.3082, allocations: 4 kB / 1.022 GB, free: 6.156 MB / 0.795 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.375e-05/0.3083, allocations: 121.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3083, allocations: 3.938 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3086, allocations: 68.78 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3086, allocations: 4.031 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3086, allocations: 0 / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3086, allocations: 3.938 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3088, allocations: 157.6 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3088, allocations: 0 / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.3088, allocations: 15.92 kB / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3088, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3089, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3089, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3089, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3091, allocations: 167.5 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.3091, allocations: 77.11 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3092, allocations: 3.984 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.3092, allocations: 4 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3093, allocations: 4 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3093, allocations: 7.984 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.3093, allocations: 83.31 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3093, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002127/0.3095, allocations: 7.938 kB / 1.023 GB, free: 5.34 MB / 0.795 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.0001283/0.3097, allocations: 95.25 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3099, allocations: 43.89 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3099, allocations: 64 / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.31, allocations: 19.98 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3103, allocations: 7.938 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.3105, allocations: 110.1 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3108, allocations: 0.6768 MB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.3108, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3108, allocations: 7.5 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3108, allocations: 7.938 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of Templates: time 0.002341/0.3132, allocations: 437.8 kB / 1.024 GB, free: 3.895 MB / 0.795 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 -s cvode -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/jenkins1/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