Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001302/0.001302, allocations: 104.9 kB / 16.4 MB, free: 6.379 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.001303/0.001303, allocations: 184.3 kB / 17.33 MB, free: 5.852 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.46/2.46, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.737/0.7383, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00219/0.7405, allocations: 0.6651 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.7417, allocations: 0.8078 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.7417, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.7418, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.7419, allocations: 3.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.742, allocations: 15.97 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.7421, allocations: 23.92 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.7423, allocations: 8 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.7423, allocations: 11.98 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.7424, allocations: 7.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.7424, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.7424, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.7425, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.7425, allocations: 15.86 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.7426, allocations: 23.89 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.7426, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7426, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.7426, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 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.0004515/0.7431, allocations: 347.3 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7432, allocations: 11.97 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.7432, allocations: 0.9375 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7433, allocations: 164.4 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.7433, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.7434, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.7435, allocations: 54.22 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7435, allocations: 4.188 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7436, allocations: 3.938 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7436, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.7437, allocations: 39.95 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.7441, allocations: 248.9 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.7442, allocations: 46.53 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.7443, allocations: 24.91 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.7443, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.7444, allocations: 30.56 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7444, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.7447, allocations: 93.48 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7448, allocations: 51.41 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.7448, allocations: 105.8 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.7449, allocations: 25.7 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.7449, allocations: 84.14 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.7449, allocations: 3.906 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.745, allocations: 13.72 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7451, allocations: 319 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.7452, allocations: 15.97 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.7452, allocations: 15.98 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.7454, allocations: 36.83 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7454, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.7456, allocations: 77.59 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.7456, allocations: 4 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7456, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7456, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.7457, allocations: 11.98 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7457, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.7458, allocations: 7.984 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7458, allocations: 0 / 1.212 GB, free: 9.953 MB / 0.9356 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.265e-05/0.7459, allocations: 125.8 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.7459, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.7461, allocations: 68.72 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7461, allocations: 0 / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7461, allocations: 4 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7461, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.7463, allocations: 165.6 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7463, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.7464, allocations: 8.031 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7464, allocations: 0 / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.7464, allocations: 4 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7464, allocations: 3.984 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7464, allocations: 0 / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.7466, allocations: 167.4 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.7467, allocations: 78.94 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.7467, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.7468, allocations: 8 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.7468, allocations: 7.922 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.7468, allocations: 11.94 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.7468, allocations: 75.47 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7469, allocations: 0 / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000218/0.7471, allocations: 4 kB / 1.212 GB, free: 9.137 MB / 0.9356 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.0001189/0.7472, allocations: 103.3 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.7474, allocations: 39.95 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7474, allocations: 0 / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.7475, allocations: 15.98 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.7478, allocations: 8.078 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.7481, allocations: 143.8 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.7483, allocations: 0.6768 MB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.7483, allocations: 11.44 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/0.7483, allocations: 0 / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.00162/0.7499, allocations: 0.5368 MB / 1.214 GB, free: 7.535 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches