Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001506/0.001506, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001856/0.001856, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9979/0.9979, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.915/1.915, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.44e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001209/0.001223, allocations: 0.6956 MB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.002062, allocations: 0.86 MB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.002092, allocations: 0 / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.002114, allocations: 4.625 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.002176, allocations: 7.469 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.002327, allocations: 11.98 kB / 0.7616 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.002384, allocations: 24.47 kB / 0.7616 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.002447, allocations: 7.984 kB / 0.7616 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.002515, allocations: 18.16 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.002545, allocations: 6 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.002556, allocations: 0 / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-05/0.002595, allocations: 7.938 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.002611, allocations: 9.609 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.002624, allocations: 4.984 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.312e-05/0.002697, allocations: 21.72 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002698, allocations: 0.7812 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002699, allocations: 4 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.495e-06/0.002701, allocations: 1.219 kB / 0.7617 GB, free: 4.879 MB / 0.7136 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.0002502/0.002952, allocations: 229 kB / 0.7619 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.00298, allocations: 8.031 kB / 0.7619 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.003053, allocations: 12.14 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.334e-05/0.003126, allocations: 113.7 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.003137, allocations: 4.375 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-06/0.003144, allocations: 384 / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.818e-05/0.003233, allocations: 59.67 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.003238, allocations: 192 / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003244, allocations: 384 / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003249, allocations: 2.562 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.003267, allocations: 7.938 kB / 0.7621 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.003427, allocations: 144.3 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.003461, allocations: 22.52 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.003473, allocations: 8.922 kB / 0.7623 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.003485, allocations: 2.672 kB / 0.7623 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.003503, allocations: 30.56 kB / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.003504, allocations: 0 / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.778e-05/0.003592, allocations: 42.92 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.003618, allocations: 55.34 kB / 0.7624 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.003664, allocations: 106.7 kB / 0.7625 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.003672, allocations: 26.95 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.003704, allocations: 88.12 kB / 0.7626 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.003721, allocations: 3.953 kB / 0.7626 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.003742, allocations: 14.31 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.003805, allocations: 314.8 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.003812, allocations: 5.516 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.003817, allocations: 0.5625 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.9e-05/0.003836, allocations: 14.22 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003838, allocations: 0 / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.277e-05/0.00387, allocations: 37.64 kB / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.00388, allocations: 7.25 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.003885, allocations: 7.984 kB / 0.763 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.003895, allocations: 0 / 0.763 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.003943, allocations: 7.938 kB / 0.763 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.003945, allocations: 0.6562 kB / 0.763 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.003959, allocations: 7.938 kB / 0.763 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-06/0.003963, allocations: 0 / 0.763 GB, free: 3.379 MB / 0.7136 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.448e-05/0.004007, allocations: 116.7 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.00402, allocations: 7.984 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.004067, allocations: 37 kB / 0.7632 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-07/0.004068, allocations: 0.875 kB / 0.7632 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.00407, allocations: 7.875 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.004072, allocations: 0 / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.516e-05/0.004147, allocations: 61.91 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004148, allocations: 4 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.004166, allocations: 13.48 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.004167, allocations: 0 / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.00417, allocations: 0 / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00417, allocations: 1.625 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.004171, allocations: 0 / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.075e-05/0.004232, allocations: 140.3 kB / 0.7634 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.004238, allocations: 11.94 kB / 0.7634 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.004245, allocations: 0.6562 kB / 0.7634 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.004274, allocations: 4.781 kB / 0.7634 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.004296, allocations: 3.984 kB / 0.7634 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.004297, allocations: 0 / 0.7634 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.004311, allocations: 20.41 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004311, allocations: 3.938 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001089/0.00442, allocations: 4 kB / 0.7635 GB, free: 2.91 MB / 0.7136 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.071e-05/0.004481, allocations: 72.42 kB / 0.7635 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.5e-05/0.004526, allocations: 20.84 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004527, allocations: 3.125 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.004539, allocations: 9.734 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.00465, allocations: 9.188 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.004946, allocations: 116.6 kB / 0.7637 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.637e-05/0.004972, allocations: 57.16 kB / 0.7637 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.004985, allocations: 0 / 0.7637 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.005022, allocations: 51.38 kB / 0.7638 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.005022, allocations: 0 / 0.7638 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.001627/0.006649, allocations: 444.1 kB / 0.7642 GB, free: 2.102 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.133958577178419]