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.00897/0.00897, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001708/0.001708, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.412/1.412, allocations: 222.9 MB / 240.4 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.344/2.344, allocations: 390.2 MB / 0.6648 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002477/1.054, allocations: 0.6688 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001049/1.055, allocations: 0.8017 MB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/1.055, allocations: 0 / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/1.055, allocations: 0 / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/1.055, allocations: 5.062 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/1.055, allocations: 13.17 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.579e-05/1.055, allocations: 23.58 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/1.055, allocations: 9.172 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/1.056, allocations: 13.02 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/1.056, allocations: 13.66 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/1.056, allocations: 2.594 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/1.056, allocations: 1.312 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/1.056, allocations: 2.562 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/1.056, allocations: 9.891 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/1.056, allocations: 20.91 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.056, allocations: 0.9062 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/1.056, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.056, allocations: 4 kB / 1.09 GB, free: 4.43 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.0004506/1.056, allocations: 337 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.056, allocations: 9.953 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/1.056, allocations: 2.875 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.056, allocations: 166.8 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.057, allocations: 5.531 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/1.057, allocations: 2.156 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/1.057, allocations: 52.89 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.057, allocations: 192 / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.057, allocations: 5 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.057, allocations: 0 / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/1.057, allocations: 33.16 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/1.057, allocations: 246 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/1.057, allocations: 52.92 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/1.058, allocations: 19.41 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.058, allocations: 1 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/1.058, allocations: 36.17 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/1.058, allocations: 0 / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/1.058, allocations: 87.69 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/1.058, allocations: 56.94 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/1.058, allocations: 101.2 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/1.058, allocations: 25.7 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/1.058, allocations: 85.83 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/1.058, allocations: 9.688 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/1.058, allocations: 12.48 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/1.058, allocations: 317.3 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/1.058, allocations: 17.53 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/1.058, allocations: 14.86 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.059, allocations: 37.34 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.059, allocations: 0 / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/1.059, allocations: 83.06 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.059, allocations: 9.578 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.059, allocations: 1.281 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.059, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/1.059, allocations: 9.828 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.059, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/1.059, allocations: 5.828 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.059, allocations: 2.188 kB / 1.091 GB, free: 2.711 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 5.245e-05/1.059, allocations: 114.8 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/1.059, allocations: 2.297 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/1.059, allocations: 70.83 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.059, allocations: 0.7969 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.059, allocations: 4.797 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.059, allocations: 0.5938 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/1.06, allocations: 163.7 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.06, allocations: 8.594 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/1.06, allocations: 8.797 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.06, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.06, allocations: 1.594 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.06, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.06, allocations: 0.9688 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/1.06, allocations: 166.2 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/1.06, allocations: 78.72 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.06, allocations: 1.516 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/1.06, allocations: 6.266 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/1.06, allocations: 2.516 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/1.06, allocations: 0.9375 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.904e-05/1.06, allocations: 79.69 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.06, allocations: 3.938 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002138/1.06, allocations: 12.34 kB / 1.092 GB, free: 2.012 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.0001505/1.06, allocations: 102.8 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002276/1.061, allocations: 35.39 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.061, allocations: 0 / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/1.061, allocations: 17.16 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/1.061, allocations: 15.11 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/1.061, allocations: 103.3 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/1.062, allocations: 0.6766 MB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.29e-05/1.062, allocations: 4.75 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/1.062, allocations: 8.312 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.062, allocations: 5 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.002835/1.064, allocations: 437.6 kB / 1.093 GB, free: 1.023 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/jenkins/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