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.001636/0.001636, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002124/0.002124, allocations: 194 kB / 16.14 MB, free: 6.652 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.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.41/2.41, allocations: 390.2 MB / 0.6642 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.88 kB / 0.8119 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8555, allocations: 140.3 MB / 0.9489 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002343/0.8579, allocations: 0.7291 MB / 0.9497 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.8587, allocations: 0.8117 MB / 0.9504 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.8588, allocations: 1.281 kB / 0.9504 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.8588, allocations: 4 kB / 0.9505 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.8589, allocations: 3.938 kB / 0.9505 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.8591, allocations: 6.719 kB / 0.9505 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.8592, allocations: 24.48 kB / 0.9505 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.8593, allocations: 3.188 kB / 0.9505 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.8593, allocations: 7.797 kB / 0.9505 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.8594, allocations: 14.77 kB / 0.9505 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.8594, allocations: 1.25 kB / 0.9505 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.8594, allocations: 1.625 kB / 0.9505 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.8594, allocations: 7.984 kB / 0.9505 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.8595, allocations: 10.88 kB / 0.9505 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.8596, allocations: 19.03 kB / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8596, allocations: 1.594 kB / 0.9506 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8596, allocations: 0 / 0.9506 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.8596, allocations: 0 / 0.9506 GB, free: 8.125 MB / 0.7169 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.0004202/0.86, allocations: 338.5 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8601, allocations: 9.75 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.8601, allocations: 2.25 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.8602, allocations: 169.7 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.8602, allocations: 4.359 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.8602, allocations: 1.938 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.8604, allocations: 49.69 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.8604, allocations: 192 / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8604, allocations: 3.938 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8604, allocations: 5.453 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.8606, allocations: 29.62 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.8609, allocations: 245.2 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.8611, allocations: 42.91 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.8611, allocations: 27.83 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8612, allocations: 3.938 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.8612, allocations: 35.94 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.8612, allocations: 0 / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.8615, allocations: 79.89 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.8616, allocations: 52.78 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.8617, allocations: 102 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.8617, allocations: 31.2 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.8617, allocations: 85.5 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.8617, allocations: 7.844 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.8618, allocations: 20.41 kB / 0.9518 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.8618, allocations: 316.2 kB / 0.9521 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.8619, allocations: 12.23 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.862, allocations: 21.55 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.8621, allocations: 44.08 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8622, allocations: 0 / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.8623, allocations: 68.97 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8624, allocations: 4.125 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8624, allocations: 1.375 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8624, allocations: 0 / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.8625, allocations: 14.36 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.8625, allocations: 0 / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.8626, allocations: 7.828 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.8626, allocations: 5.25 kB / 0.9523 GB, free: 6.301 MB / 0.7169 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.81e-05/0.8626, allocations: 118.9 kB / 0.9524 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.8627, allocations: 5.312 kB / 0.9524 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.8629, allocations: 70.03 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.8629, allocations: 0.9688 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8629, allocations: 0 / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8629, allocations: 1.094 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.8631, allocations: 166.5 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8631, allocations: 0 / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.8632, allocations: 5.188 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8632, allocations: 1.406 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.8632, allocations: 3.984 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8632, allocations: 0 / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8632, allocations: 5.344 kB / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.8634, allocations: 163.5 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.8634, allocations: 77.11 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.8635, allocations: 1.562 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.8635, allocations: 7.188 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.8636, allocations: 9.078 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.8636, allocations: 1.094 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.8636, allocations: 77.62 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8636, allocations: 1.625 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002067/0.8639, allocations: 2.438 kB / 0.953 GB, free: 5.57 MB / 0.7169 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.0001473/0.864, allocations: 102.4 kB / 0.9531 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.8642, allocations: 41.75 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8642, allocations: 0 / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.8643, allocations: 18.61 kB / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.8646, allocations: 18.86 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.8649, allocations: 98.08 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.8651, allocations: 0.6808 MB / 0.9539 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.8651, allocations: 1.25 kB / 0.9539 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.8651, allocations: 8.531 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8651, allocations: 0 / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.002346/0.8675, allocations: 369.6 kB / 0.9543 GB, free: 4.426 MB / 0.7169 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