Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001408/0.001408, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001149/0.001149, allocations: 177 kB / 23.36 MB, free: 1.137 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.553/2.553, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.518e-05, allocations: 8.781 kB / 0.8387 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001507/0.001532, allocations: 0.7301 MB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.002416, allocations: 0.8586 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.00245, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.002477, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.002545, allocations: 7.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.002694, allocations: 19.84 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.002756, allocations: 27.92 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.058e-05/0.002827, allocations: 4 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.002901, allocations: 15.98 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.002934, allocations: 0 / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.002948, allocations: 4 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.62e-05/0.003005, allocations: 8 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.003021, allocations: 11.91 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.003036, allocations: 8 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.995e-05/0.003126, allocations: 15.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003128, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003129, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003133, 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.0002687/0.003401, allocations: 248.9 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.003434, allocations: 8.625 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.003519, allocations: 4.938 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.003604, allocations: 105.8 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.003613, allocations: 4.375 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-06/0.003618, allocations: 384 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.003705, allocations: 54.94 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003712, allocations: 192 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.00372, allocations: 4.375 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.003726, allocations: 8.297 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.003746, allocations: 15.88 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.003925, allocations: 140.3 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/0.003959, allocations: 22.56 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.003972, allocations: 12.92 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.003983, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.004002, allocations: 30.56 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.004003, allocations: 0 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.774e-05/0.004101, allocations: 45.67 kB / 0.841 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.004126, allocations: 55.34 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.004172, allocations: 102.8 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.004181, allocations: 29.7 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.004209, allocations: 84.12 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.004227, allocations: 11.88 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.00425, allocations: 13.72 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.00432, allocations: 310.8 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.004329, allocations: 4 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.004336, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/0.00436, allocations: 20.78 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004362, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.969e-05/0.004401, allocations: 37.77 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.004413, allocations: 4 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004417, allocations: 0 / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.004429, allocations: 7.984 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.004487, allocations: 7.938 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004489, allocations: 0 / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.004505, allocations: 4 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.004508, allocations: 4 kB / 0.8417 GB, free: 10.8 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.601e-05/0.004554, allocations: 105.8 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.004568, allocations: 4.016 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.004631, allocations: 52.94 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004633, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.004635, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004637, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.153e-05/0.004719, allocations: 65.89 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00472, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.004741, allocations: 15.92 kB / 0.8419 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.004742, allocations: 0 / 0.8419 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.004746, allocations: 0 / 0.8419 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.004747, allocations: 0 / 0.8419 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004748, allocations: 4.031 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.741e-05/0.004816, allocations: 135.4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.004821, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-06/0.004828, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.004859, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.004882, allocations: 3.984 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.004885, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.034e-05/0.004896, allocations: 12.8 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004896, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001138/0.00501, allocations: 4 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 7.57e-05/0.005085, allocations: 76.45 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.47e-05/0.00514, allocations: 16.84 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005143, allocations: 0 / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.005156, allocations: 12.8 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.00529, allocations: 4 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.005626, allocations: 124.7 kB / 0.8423 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.005657, allocations: 59.34 kB / 0.8424 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.005673, allocations: 0 / 0.8424 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.005714, allocations: 51.38 kB / 0.8424 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.005714, allocations: 0 / 0.8424 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of Templates: time 0.00188/0.007594, allocations: 478.8 kB / 0.8429 GB, free: 9.477 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.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.362983698956668]