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.007525/0.007525, allocations: 99.55 kB / 15.73 MB, free: 6.059 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.001311/0.001311, allocations: 192.8 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 159.1 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001758/0.3407, allocations: 0.6673 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.3416, allocations: 0.8096 MB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.3417, allocations: 4 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.3417, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.3418, allocations: 3.938 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3419, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.342, allocations: 27.92 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.3421, allocations: 3.984 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.3421, allocations: 11.94 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.3422, allocations: 11.98 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.3422, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-06/0.3422, allocations: 4 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.3422, allocations: 11.92 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.3422, allocations: 8 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.55e-05/0.3423, allocations: 19.91 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3423, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3423, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3423, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 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.0004459/0.3428, allocations: 335.5 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3428, allocations: 12.03 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.3428, allocations: 8.875 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3429, allocations: 168.3 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.343, allocations: 4.375 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.343, allocations: 4.312 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3432, allocations: 50.23 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3432, allocations: 192 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3432, allocations: 3.938 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3432, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3434, allocations: 31.97 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3437, allocations: 253 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.3438, allocations: 46.36 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.3439, allocations: 20.91 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3439, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3439, allocations: 38.55 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3439, allocations: 4 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000349/0.3443, allocations: 73.66 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3443, allocations: 55.39 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.3444, allocations: 105.8 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3444, allocations: 25.7 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.3445, allocations: 88.22 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.3445, allocations: 7.891 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.3445, allocations: 21.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3446, allocations: 310.8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.3447, allocations: 11.98 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.3448, allocations: 19.98 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.345, allocations: 44.88 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.345, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.3452, allocations: 61.61 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3452, allocations: 11.98 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3452, allocations: 3.938 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3452, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.3453, allocations: 8.031 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3453, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.3453, allocations: 7.984 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3453, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 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 7.761e-05/0.3454, allocations: 114.3 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3454, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.3457, allocations: 76.78 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3457, allocations: 3.984 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3457, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3457, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3458, allocations: 157.6 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3458, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.3459, allocations: 15.92 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3459, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.3459, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3459, allocations: 3.938 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3459, allocations: 0 / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.3462, allocations: 167.4 kB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.3462, allocations: 77.11 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3462, allocations: 8 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.3463, allocations: 3.984 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3463, allocations: 4 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3463, allocations: 4.031 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.3464, allocations: 83.27 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002172/0.3466, allocations: 4 kB / 1.225 GB, free: 9.273 MB / 0.9825 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.0001379/0.3467, allocations: 99.25 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.347, allocations: 39.91 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.347, allocations: 4.062 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.347, allocations: 15.97 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3473, allocations: 11.88 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.3477, allocations: 133.7 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.348, allocations: 0.6768 MB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.348, allocations: 4.062 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.348, allocations: 7.438 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.348, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Templates: time 0.002425/0.3505, allocations: 444 kB / 1.226 GB, free: 7.801 MB / 0.9825 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=480 -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/jenkins/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