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.001189/0.00119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001788/0.001787, allocations: 195.4 kB / 16.25 MB, free: 6.625 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.676/2.676, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7802, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002267/0.7826, allocations: 0.7199 MB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.7836, allocations: 0.8118 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.7836, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.7837, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.7838, allocations: 7.938 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.784, allocations: 7.984 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.784, allocations: 19.94 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.7842, allocations: 7.984 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.7843, allocations: 15.92 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.7843, allocations: 15.92 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.7843, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.7844, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.7844, allocations: 7.938 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.7844, allocations: 8 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.074e-05/0.7845, allocations: 27.89 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7845, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7845, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.7845, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 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.0005106/0.7851, allocations: 337.4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7851, allocations: 12.03 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.7851, allocations: 4.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.7853, allocations: 164.3 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.7853, allocations: 384 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.7853, allocations: 4.375 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.7855, allocations: 54.17 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7855, allocations: 192 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.7855, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7856, allocations: 4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.7857, allocations: 39.94 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.7861, allocations: 241 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.7862, allocations: 42.44 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.7863, allocations: 28.89 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.7863, allocations: 3.984 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.7864, allocations: 38.5 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7864, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003394/0.7867, allocations: 77.64 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.7868, allocations: 55.53 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.7869, allocations: 97.86 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7869, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.787, allocations: 96 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.787, allocations: 3.906 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.787, allocations: 13.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7871, allocations: 314.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.7872, allocations: 15.98 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.7873, allocations: 23.97 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.7875, allocations: 36.83 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7875, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.7877, allocations: 65.59 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7877, allocations: 12.09 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7877, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.7877, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.7878, allocations: 15.86 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7878, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.7879, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.7879, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 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.819e-05/0.788, allocations: 118.3 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.788, allocations: 7.906 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.7882, allocations: 68.78 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7883, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7883, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7883, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.7884, allocations: 157.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.7885, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.7885, allocations: 11.98 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7885, allocations: 4.031 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7885, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7885, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7886, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.7888, allocations: 163.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.7888, allocations: 81.05 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.7889, allocations: 12.02 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.7889, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.789, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.789, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.7891, allocations: 87.27 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7891, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002076/0.7893, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 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.0001555/0.7894, allocations: 99.25 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.7897, allocations: 43.89 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7897, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.7897, allocations: 19.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.79, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.7904, allocations: 118.2 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.7907, allocations: 0.6768 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.7907, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.7907, allocations: 7.438 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7907, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.002577/0.7933, allocations: 388 kB / 1.022 GB, free: 12.85 MB / 0.7794 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