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.001514/0.001514, allocations: 100.5 kB / 16.35 MB, free: 5.824 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.001631/0.001631, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.439/1.439, 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.2-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 69.91 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001862/0.3488, allocations: 0.6608 MB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.3496, allocations: 0.8216 MB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.3497, allocations: 0 / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.3497, allocations: 3.938 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.3497, allocations: 3.938 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.3499, allocations: 19.92 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.35, allocations: 15.98 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.35, allocations: 8 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.3502, allocations: 11.94 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.3502, allocations: 15.91 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3502, allocations: 4 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.3502, allocations: 0 / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.3502, allocations: 8 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.3503, allocations: 11.92 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.543e-05/0.3503, allocations: 19.91 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3504, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3504, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3504, allocations: 0 / 0.9527 GB, free: 6.426 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.0003911/0.3508, allocations: 343.5 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3508, allocations: 8.031 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.3508, allocations: 0.9375 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.351, allocations: 172.2 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.351, allocations: 384 / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.351, allocations: 384 / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3512, allocations: 50.23 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3513, allocations: 192 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3513, allocations: 3.938 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3513, allocations: 4 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3514, allocations: 39.89 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.3517, allocations: 241 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3519, allocations: 38.5 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.352, allocations: 32.89 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.352, allocations: 0 / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.352, allocations: 34.5 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.352, allocations: 0 / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003147/0.3523, allocations: 81.64 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3524, allocations: 55.53 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.3525, allocations: 97.8 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3525, allocations: 25.7 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.3525, allocations: 92.12 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3525, allocations: 7.891 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3526, allocations: 9.719 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3527, allocations: 318.8 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.3528, allocations: 11.98 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.3528, allocations: 23.97 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.353, allocations: 40.77 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.353, allocations: 3.938 kB / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.3532, allocations: 69.59 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3532, allocations: 10.12 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3532, allocations: 3.984 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3532, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.3533, allocations: 11.98 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3533, allocations: 0 / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.3534, allocations: 4 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.3534, allocations: 0 / 0.9545 GB, free: 4.402 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.113e-05/0.3534, allocations: 117.8 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3535, allocations: 11.91 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3537, allocations: 68.72 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3537, allocations: 0 / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3537, allocations: 4 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3537, allocations: 4 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3539, allocations: 157.6 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3539, allocations: 0 / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.3539, allocations: 7.984 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3539, allocations: 4.219 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3539, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.354, allocations: 4 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.354, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.3542, allocations: 171.4 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3542, allocations: 77.11 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3542, allocations: 8.016 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.3543, allocations: 4 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3544, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3544, allocations: 7.922 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.3544, allocations: 83.28 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3544, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002068/0.3546, allocations: 4 kB / 0.9552 GB, free: 3.582 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.0001411/0.3548, allocations: 99.25 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.355, allocations: 39.95 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.355, allocations: 0 / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.3551, allocations: 23.92 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.3553, allocations: 11.88 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.3556, allocations: 101.7 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.3559, allocations: 0.6844 MB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.3559, allocations: 0 / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3559, allocations: 7.438 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3559, allocations: 3.938 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of Templates: time 0.002327/0.3583, allocations: 436.9 kB / 0.9565 GB, free: 2.133 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 gbode -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