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.001586/0.001586, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.00149/0.00149, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9541/0.9541, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.366/2.366, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.264e-06/2.264e-06, allocations: 0 / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.856e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001318/0.001346, allocations: 0.6821 MB / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.002124, allocations: 0.8703 MB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.002156, allocations: 4 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002181, allocations: 0 / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.002243, allocations: 7.922 kB / 0.8913 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.002395, allocations: 11.98 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.002451, allocations: 23.92 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.002527, allocations: 4 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.002596, allocations: 15.92 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.494e-05/0.002631, allocations: 12 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.002643, allocations: 0 / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.002685, allocations: 7.938 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.0027, allocations: 11.97 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.272e-05/0.002713, allocations: 4 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.002795, allocations: 19.92 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002797, allocations: 0 / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002798, allocations: 4 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.002801, allocations: 0 / 0.8915 GB, free: 7.988 MB / 0.8542 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.0002906/0.003092, allocations: 364.6 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.00313, allocations: 12.62 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.003209, allocations: 12.83 kB / 0.8918 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.134e-05/0.00327, allocations: 104.6 kB / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.003281, allocations: 8.375 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-06/0.003286, allocations: 384 / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.003396, allocations: 50.95 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.003403, allocations: 192 / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.00341, allocations: 384 / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003415, allocations: 384 / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.003436, allocations: 11.92 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.003646, allocations: 236.4 kB / 0.8922 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.003684, allocations: 27.06 kB / 0.8923 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.003697, allocations: 11.69 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.003714, allocations: 0 / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.003734, allocations: 41.48 kB / 0.8923 GB, free: 7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003734, allocations: 0 / 0.8923 GB, free: 7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001084/0.003843, allocations: 41.58 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.003867, allocations: 51.41 kB / 0.8924 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.913e-05/0.003926, allocations: 165.9 kB / 0.8925 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.003937, allocations: 25.83 kB / 0.8926 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.003974, allocations: 142.8 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.003988, allocations: 0 / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.004015, allocations: 19.36 kB / 0.8927 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.00414, allocations: 496.1 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.004155, allocations: 3.984 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.004166, allocations: 7.938 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.004197, allocations: 11.69 kB / 0.8932 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.0042, allocations: 0 / 0.8932 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.422e-05/0.004264, allocations: 45.59 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.004275, allocations: 8.094 kB / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004279, allocations: 0 / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.004288, allocations: 3.938 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.004346, allocations: 7.984 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004349, allocations: 0 / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.004366, allocations: 7.938 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.00437, allocations: 0 / 0.8933 GB, free: 5.906 MB / 0.8542 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 6.001e-05/0.00443, allocations: 156.6 kB / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.004447, allocations: 0 / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/0.004542, allocations: 52.94 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.004545, allocations: 3.938 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.91e-07/0.004546, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.004549, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.595e-05/0.004635, allocations: 97.25 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.004636, allocations: 0 / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.004663, allocations: 4 kB / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.004665, allocations: 0 / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-06/0.004669, allocations: 0 / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.004671, allocations: 7.984 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004672, allocations: 0 / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.635e-05/0.004758, allocations: 191.9 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.004765, allocations: 3.953 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.004772, allocations: 4 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.004801, allocations: 3.984 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.004828, allocations: 4 kB / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.004832, allocations: 11.88 kB / 0.8938 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.004866, allocations: 123.2 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.004867, allocations: 4 kB / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001302/0.004997, allocations: 4 kB / 0.8939 GB, free: 5.184 MB / 0.8542 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.768e-05/0.005094, allocations: 102.4 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.279e-05/0.005157, allocations: 15.69 kB / 0.894 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005159, allocations: 0 / 0.894 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.005174, allocations: 15.62 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.005346, allocations: 7.984 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.005732, allocations: 118.5 kB / 0.8942 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.005762, allocations: 59.3 kB / 0.8942 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.00578, allocations: 0 / 0.8942 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.005825, allocations: 74.19 kB / 0.8943 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.005826, allocations: 0 / 0.8943 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.001944/0.00777, allocations: 0.5173 MB / 0.8948 GB, free: 4.219 MB / 0.8542 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 -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.253426859155297]