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.001004/0.001004, allocations: 80.75 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.001448/0.001448, allocations: 181 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.444/2.444, allocations: 438.8 MB / 0.6826 GB, free: 13.58 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.572e-06/1.572e-06, allocations: 0 / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.628e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001228/0.001244, allocations: 0.7305 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.002019, allocations: 0.8625 MB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.002047, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.00207, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.002129, allocations: 11.92 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.002254, allocations: 11.98 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.002312, allocations: 27.86 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.002381, allocations: 4 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.002447, allocations: 11.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.002479, allocations: 7.984 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.002491, allocations: 4 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.002544, allocations: 19.92 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.002556, allocations: 0 / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.002571, allocations: 11.94 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.837e-05/0.002649, allocations: 19.91 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002651, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002651, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.756e-06/0.002654, allocations: 0 / 0.8404 GB, free: 12.34 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.0002393/0.002893, allocations: 236.9 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.002923, allocations: 12.62 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.002996, allocations: 4.938 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.947e-05/0.003065, allocations: 117.7 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.003074, allocations: 4.375 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-06/0.003079, allocations: 384 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.003159, allocations: 50.95 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003165, allocations: 192 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-06/0.00317, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003174, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.003192, allocations: 11.88 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.003361, allocations: 144.3 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.222e-05/0.003393, allocations: 22.56 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.022e-05/0.003403, allocations: 8.859 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.003415, allocations: 4.062 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.003432, allocations: 30.56 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.12e-07/0.003433, allocations: 0 / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.996e-05/0.003523, allocations: 45.61 kB / 0.841 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.003549, allocations: 59.34 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.528e-05/0.003595, allocations: 102.7 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.003602, allocations: 25.7 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.003627, allocations: 84.14 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.003643, allocations: 7.938 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.003663, allocations: 17.84 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.003728, allocations: 310.8 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.003735, allocations: 3.984 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.003743, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.947e-05/0.003762, allocations: 12.8 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.003764, allocations: 4 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.618e-05/0.0038, allocations: 37.69 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/0.00381, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.003813, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.003823, allocations: 4.094 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.003873, allocations: 15.94 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.003876, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.003892, allocations: 11.92 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.003896, allocations: 0 / 0.8417 GB, free: 10.81 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.623e-05/0.003942, allocations: 109.8 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.003955, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.00401, allocations: 44.94 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004011, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.004013, allocations: 3.938 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.004016, allocations: 4.031 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.205e-05/0.004088, allocations: 73.88 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004088, allocations: 0 / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.004106, allocations: 4 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004107, allocations: 4 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.00411, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004111, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004112, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.004416, allocations: 135.6 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.004421, allocations: 7.984 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-06/0.004427, allocations: 4.031 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.004457, allocations: 7.922 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.004479, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.004481, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.568e-06/0.004491, allocations: 12.8 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004491, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001123/0.004603, allocations: 8 kB / 0.8421 GB, free: 10.34 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 5.765e-05/0.004661, allocations: 76.41 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.351e-05/0.004704, allocations: 12.86 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.004706, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.004718, allocations: 12.8 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.004838, allocations: 4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.005125, allocations: 120.6 kB / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.005153, allocations: 55.36 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.335e-05/0.005167, allocations: 128 / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.005204, allocations: 55.38 kB / 0.8424 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of SimCode: time 3.8e-07/0.005205, allocations: 0 / 0.8424 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of Templates: time 0.001624/0.006829, allocations: 466.8 kB / 0.8429 GB, free: 9.508 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 -s gbode -gbm=radauIIA3 -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.297198697924614]