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.001038/0.001038, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001693/0.001693, allocations: 161 kB / 24.17 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 1.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.496 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 2.033/2.033, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.315e-06/2.315e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.542e-05, allocations: 3.672 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00166/0.001686, allocations: 0.7453 MB / 0.7609 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.002598, allocations: 0.8614 MB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.002631, allocations: 0 / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002657, allocations: 0.5312 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.002724, allocations: 7.219 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.002863, allocations: 12.58 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.002927, allocations: 29.02 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.244e-05/0.003, allocations: 7.984 kB / 0.7618 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.003075, allocations: 13.08 kB / 0.7618 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.541e-05/0.00311, allocations: 9.859 kB / 0.7618 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.003122, allocations: 4 kB / 0.7618 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.374e-05/0.003176, allocations: 7.938 kB / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.003191, allocations: 6.031 kB / 0.7618 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.281e-05/0.003203, allocations: 4.875 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.003294, allocations: 21.61 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003297, allocations: 4.672 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003298, allocations: 4 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003302, allocations: 0.6875 kB / 0.7618 GB, free: 4.859 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.0002747/0.003577, allocations: 226.3 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.003611, allocations: 8.688 kB / 0.7621 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.003697, allocations: 9.641 kB / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.003777, allocations: 113.7 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.003786, allocations: 1.188 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-06/0.003792, allocations: 384 / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.003889, allocations: 56.33 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003896, allocations: 192 / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.003902, allocations: 384 / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003908, allocations: 384 / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.003931, allocations: 16.44 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.004122, allocations: 142.7 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.004161, allocations: 26.52 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.004172, allocations: 8.922 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.004185, allocations: 1.156 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.004204, allocations: 30.56 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004205, allocations: 0 / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001036/0.004308, allocations: 42.92 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.004338, allocations: 55.34 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.00439, allocations: 111.5 kB / 0.7626 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.004399, allocations: 25.7 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.004426, allocations: 80.14 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.004442, allocations: 11.25 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.004467, allocations: 13.72 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.00454, allocations: 314.8 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.00455, allocations: 7.984 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.004558, allocations: 0 / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.267e-05/0.00458, allocations: 9.625 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004582, allocations: 2.844 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.733e-05/0.004629, allocations: 45.62 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004641, allocations: 4 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004645, allocations: 4 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.004658, allocations: 0 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.00472, allocations: 7.938 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.004722, allocations: 0.6562 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.00474, allocations: 9.344 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.004744, allocations: 3.984 kB / 0.7632 GB, free: 3.355 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.877e-05/0.004793, allocations: 110.5 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.004809, allocations: 4 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.004872, allocations: 43.09 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004874, allocations: 0.6562 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.004877, allocations: 3.938 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004879, allocations: 3.938 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.755e-05/0.004957, allocations: 61.91 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.004959, allocations: 10.42 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.004983, allocations: 4 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004984, allocations: 0.7656 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.004988, allocations: 0 / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.004989, allocations: 0 / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00499, allocations: 0 / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.683e-05/0.005056, allocations: 141.7 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005063, allocations: 7.953 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.00507, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.005101, allocations: 4.656 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.005127, allocations: 3.984 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.00513, allocations: 0 / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.318e-05/0.005143, allocations: 17.81 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005143, allocations: 0 / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001218/0.005265, allocations: 7.938 kB / 0.7636 GB, free: 2.898 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 9.286e-05/0.005357, allocations: 78.22 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.628e-05/0.005414, allocations: 15.27 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.005416, allocations: 0 / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.00543, allocations: 8.859 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.005573, allocations: 8 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.005925, allocations: 119 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.005956, allocations: 51.36 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.005974, allocations: 0 / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.006016, allocations: 57.41 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.006017, allocations: 0 / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of Templates: time 0.002276/0.008293, allocations: 450.3 kB / 0.7643 GB, free: 2.086 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 -s gbode -gbm=radauIIA3 -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.143252796027809]