Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 113.4 kB / 16.41 MB, free: 6.492 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.00134/0.00134, allocations: 183 kB / 17.34 MB, free: 5.762 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8417, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001732/0.8435, allocations: 0.6681 MB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.8443, allocations: 0.8019 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.8443, allocations: 3.938 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.8444, allocations: 0.875 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.8444, allocations: 8.391 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.8446, allocations: 12.73 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.8446, allocations: 28.05 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.8447, allocations: 5.156 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.8448, allocations: 9.344 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.8448, allocations: 12.75 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.8448, allocations: 6.172 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.8449, allocations: 2.406 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.8449, allocations: 1.266 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.8449, allocations: 12.03 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.035e-05/0.845, allocations: 20.45 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.845, allocations: 5.031 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.845, allocations: 0 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.845, allocations: 0 / 1.09 GB, free: 4.414 MB / 0.8575 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.0003445/0.8453, allocations: 333.2 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8454, allocations: 9.094 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.8454, allocations: 7.484 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.8455, allocations: 165.9 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8455, allocations: 2.203 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.8455, allocations: 5.438 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.8457, allocations: 52.94 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.8457, allocations: 192 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.8457, allocations: 9.062 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.8457, allocations: 0 / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.8459, allocations: 32.31 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.8462, allocations: 247.2 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.8463, allocations: 43.64 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.8464, allocations: 24.09 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.8464, allocations: 1.156 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.8464, allocations: 32.42 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8465, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003316/0.8468, allocations: 83.39 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.8468, allocations: 53.33 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.059e-05/0.8469, allocations: 100.1 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.8469, allocations: 26.22 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.8469, allocations: 85.62 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.8469, allocations: 1.641 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.847, allocations: 20.7 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.847, allocations: 313.2 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.8471, allocations: 22.23 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.8472, allocations: 14.34 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.8473, allocations: 41.25 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8474, allocations: 3.938 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.8475, allocations: 71.28 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8476, allocations: 5.328 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8476, allocations: 0.7188 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8476, allocations: 8.656 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.8477, allocations: 13.25 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8477, allocations: 0.5625 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.8478, allocations: 13.86 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.8478, allocations: 1.719 kB / 1.092 GB, free: 2.695 MB / 0.8575 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 4.704e-05/0.8478, allocations: 111.6 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.8479, allocations: 6.094 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.8481, allocations: 70.89 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8481, allocations: 1.188 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8481, allocations: 4.031 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8481, allocations: 0.7969 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.8482, allocations: 163.7 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8482, allocations: 0 / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.8483, allocations: 9.375 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8483, allocations: 0.75 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.8483, allocations: 1.719 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8483, allocations: 0 / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8483, allocations: 0 / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.8485, allocations: 170.7 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.8486, allocations: 82.38 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8486, allocations: 1.484 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.8487, allocations: 6.688 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.8487, allocations: 2.203 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.8487, allocations: 1 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.8487, allocations: 83.84 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8487, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000226/0.849, allocations: 7.625 kB / 1.093 GB, free: 2 MB / 0.8575 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.0001252/0.8491, allocations: 101.4 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.8493, allocations: 38.91 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8493, allocations: 0.9375 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.8494, allocations: 20.8 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.8497, allocations: 10.89 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.85, allocations: 126.6 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.248e-05/0.8501, allocations: 0.6756 MB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.8501, allocations: 10.2 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.8501, allocations: 0 / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.001792/0.8519, allocations: 0.5497 MB / 1.094 GB, free: 1.016 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches