Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9133/0.9133, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.428/2.428, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.97e-05, allocations: 4.141 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001111/0.00113, allocations: 0.6795 MB / 0.8393 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.001839, allocations: 0.8625 MB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.001866, allocations: 0 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.00189, allocations: 3.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.001949, allocations: 7.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.002089, allocations: 19.86 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.002141, allocations: 19.92 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.002203, allocations: 12 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.002267, allocations: 11.98 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.002298, allocations: 15.91 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.00231, allocations: 0 / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.668e-05/0.002346, allocations: 4 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.002359, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.002371, allocations: 8 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.02e-05/0.002441, allocations: 19.97 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002443, allocations: 3.938 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002443, allocations: 0 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.002446, allocations: 4 kB / 0.8403 GB, free: 12.41 MB / 0.8073 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.0002472/0.002693, allocations: 236.9 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.002722, allocations: 8.625 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.002795, allocations: 4.938 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.06e-05/0.002865, allocations: 113.7 kB / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.002873, allocations: 384 / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.002881, allocations: 384 / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.002959, allocations: 54.89 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.002965, allocations: 192 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.00297, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.002975, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.002991, allocations: 11.94 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.003147, allocations: 148.3 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.003183, allocations: 22.52 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.157e-05/0.003195, allocations: 8.922 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.003205, allocations: 0 / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.003225, allocations: 38.59 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.92e-07/0.003226, allocations: 0 / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.693e-05/0.003313, allocations: 29.7 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.003342, allocations: 63.34 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.003387, allocations: 106.8 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.003396, allocations: 25.7 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.00342, allocations: 84.12 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.003439, allocations: 11.89 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.003458, allocations: 13.66 kB / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.003525, allocations: 318.8 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.003531, allocations: 0 / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.003537, allocations: 0 / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.003557, allocations: 12.86 kB / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.003558, allocations: 0 / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.233e-05/0.00359, allocations: 37.75 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.0036, allocations: 8 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.003605, allocations: 4 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.003615, allocations: 3.938 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.003667, allocations: 11.88 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.003669, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.003687, allocations: 15.98 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.00369, allocations: 0 / 0.8416 GB, free: 10.89 MB / 0.8073 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.2e-05/0.003732, allocations: 105.8 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.003744, allocations: 8.031 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.003797, allocations: 37 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.003798, allocations: 192 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.0038, allocations: 3.938 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.003804, allocations: 7.984 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.533e-05/0.003879, allocations: 73.88 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.003879, allocations: 0 / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.003895, allocations: 4 kB / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.003895, allocations: 0 / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.003898, allocations: 0 / 0.8418 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003899, allocations: 4.031 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.003901, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.644e-05/0.003957, allocations: 135.5 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.003962, allocations: 0 / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.003969, allocations: 0 / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.003996, allocations: 7.984 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.004018, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-06/0.004019, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.476e-06/0.004027, allocations: 12.8 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004027, allocations: 0 / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000109/0.004136, allocations: 8 kB / 0.842 GB, free: 10.43 MB / 0.8073 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 6.193e-05/0.004198, allocations: 80.44 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.469e-05/0.004243, allocations: 16.8 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.004244, allocations: 0 / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.004255, allocations: 8.859 kB / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.00437, allocations: 4 kB / 0.8421 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.004666, allocations: 128.7 kB / 0.8422 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.004693, allocations: 51.36 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.004706, allocations: 0 / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.004741, allocations: 51.38 kB / 0.8423 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 3.01e-07/0.004741, allocations: 3.938 kB / 0.8423 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.00162/0.006362, allocations: 466.4 kB / 0.8428 GB, free: 9.582 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2809471427462995]