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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001938/0.001938, allocations: 105.3 kB / 16.36 MB, free: 5.828 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.002055/0.002055, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.567/1.567, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 65.84 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3126, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002135/0.3147, allocations: 0.6668 MB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3158, allocations: 0.8138 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.3158, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.3159, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.3159, allocations: 11.88 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3161, allocations: 15.98 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.3162, allocations: 23.92 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3163, allocations: 7.984 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.3164, allocations: 11.98 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.3164, allocations: 11.94 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3164, allocations: 0 / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.3165, allocations: 4 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.3165, allocations: 3.984 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.3165, allocations: 11.94 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.664e-05/0.3166, allocations: 19.91 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3166, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.428e-06/0.3166, allocations: 4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3166, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 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.0004966/0.3171, allocations: 336.3 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3172, allocations: 8.031 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.3172, allocations: 4.938 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3173, allocations: 180.1 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3174, allocations: 4.375 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3174, allocations: 4.375 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3176, allocations: 46.23 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3176, allocations: 192 / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3176, allocations: 7.938 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3176, allocations: 4 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3178, allocations: 27.97 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3181, allocations: 245 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3182, allocations: 46.42 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.3183, allocations: 20.91 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3184, allocations: 0 / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3184, allocations: 34.56 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3184, allocations: 0 / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.3187, allocations: 85.58 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3188, allocations: 51.41 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.319, allocations: 105.8 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.319, allocations: 29.64 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.3191, allocations: 88.27 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3191, allocations: 3.906 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3191, allocations: 17.72 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003268/0.3195, allocations: 314.8 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.3196, allocations: 15.98 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.3196, allocations: 11.98 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.3198, allocations: 40.89 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3198, allocations: 3.938 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.32, allocations: 73.53 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.32, allocations: 4 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.32, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.32, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.3201, allocations: 16.02 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3201, allocations: 0 / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.3202, allocations: 11.98 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3202, allocations: 4 kB / 0.9545 GB, free: 4.395 MB / 0.7325 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.636e-05/0.3203, allocations: 117.3 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3203, allocations: 3.906 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.3205, allocations: 72.78 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3205, allocations: 4 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3205, allocations: 3.938 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3205, allocations: 0 / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3207, allocations: 161.6 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3207, allocations: 0 / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.3208, allocations: 7.984 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3208, allocations: 4 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3208, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3208, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3208, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.321, allocations: 167.5 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3211, allocations: 77.11 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3211, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.3212, allocations: 7.984 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3213, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3213, allocations: 8.031 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.3213, allocations: 79.22 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.934e-06/0.3213, allocations: 4 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002089/0.3215, allocations: 7.938 kB / 0.9552 GB, free: 3.586 MB / 0.7325 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.0001817/0.3217, allocations: 103.2 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.322, allocations: 31.97 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.322, allocations: 4.062 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.3221, allocations: 15.98 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3224, allocations: 19.86 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3227, allocations: 97.55 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.323, allocations: 0.6805 MB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.3231, allocations: 3.938 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.3231, allocations: 11.5 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.3231, allocations: 3.938 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of Templates: time 0.002907/0.326, allocations: 430.4 kB / 0.9565 GB, free: 2.141 MB / 0.7325 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 -s cvode -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