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.00133/0.00133, 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.001355/0.001355, allocations: 194.7 kB / 16.14 MB, free: 6.629 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.656/1.656, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.885/2.885, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7345, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002036/0.7366, allocations: 0.7354 MB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.7376, allocations: 0.8118 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.7377, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.7377, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.7378, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.7379, allocations: 8 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.738, allocations: 23.92 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.7381, allocations: 8 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.7381, allocations: 11.91 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.475e-05/0.7382, allocations: 8 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.7382, allocations: 4 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.7382, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.7382, allocations: 7.922 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.7383, allocations: 8 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.45e-05/0.7384, allocations: 23.91 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.7384, allocations: 3.938 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7384, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.7384, allocations: 0 / 1.018 GB, free: 1.133 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.0005075/0.7389, allocations: 337.5 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7389, allocations: 12.03 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.739, allocations: 0.9375 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.7391, allocations: 168.3 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7391, allocations: 384 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.7392, allocations: 4.375 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7393, allocations: 50.23 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7394, allocations: 4.188 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.7394, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7394, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.7396, allocations: 31.97 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.7399, allocations: 248.9 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.7401, allocations: 46.48 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.7402, allocations: 24.84 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.7402, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.7402, allocations: 34.56 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7402, allocations: 3.938 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003893/0.7406, allocations: 85.58 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.7407, allocations: 51.41 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.7408, allocations: 101.8 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7408, allocations: 29.7 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.7409, allocations: 84.08 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.7409, allocations: 3.906 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.7409, allocations: 13.72 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7411, allocations: 323 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.7412, allocations: 11.98 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.7412, allocations: 19.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.7414, allocations: 36.83 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.7414, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.7416, allocations: 73.78 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7416, allocations: 8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7417, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7417, allocations: 3.984 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.7418, allocations: 11.98 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.7418, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.7418, allocations: 11.89 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.7419, allocations: 4 kB / 1.02 GB, free: 15.1 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 8.139e-05/0.7419, allocations: 117.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.742, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.7422, allocations: 72.72 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7422, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7422, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.7422, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7424, allocations: 161.6 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.7424, allocations: 4.031 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.7425, allocations: 11.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7425, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7425, allocations: 4 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7425, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7425, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.7428, allocations: 163.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.7428, allocations: 81.05 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.7429, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.7429, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.743, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.743, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.743, allocations: 79.28 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7431, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002192/0.7433, allocations: 4 kB / 1.021 GB, free: 14.29 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.0001446/0.7434, allocations: 103.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.7437, allocations: 35.97 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7437, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.7438, allocations: 19.98 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.7441, allocations: 9.312 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.7444, allocations: 120 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.7447, allocations: 0.6731 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.7448, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.7448, allocations: 7.438 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.7448, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002683/0.7475, allocations: 375.1 kB / 1.022 GB, free: 12.91 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=400 -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