Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001443/0.001443, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001775/0.001775, allocations: 169 kB / 24.28 MB, free: 276 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.9767/0.9767, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.525e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002169/0.002204, allocations: 0.6775 MB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003241, allocations: 0.8652 MB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.003282, allocations: 4 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.003314, allocations: 3.938 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.003382, allocations: 3.938 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.003591, allocations: 16.45 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.16e-05/0.003673, allocations: 23.92 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.00378, allocations: 8.953 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.003873, allocations: 15.98 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.003911, allocations: 5.047 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.003928, allocations: 7.938 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.003982, allocations: 7.938 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.004, allocations: 5.406 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.004023, allocations: 4 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.004154, allocations: 23.95 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004157, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/0.004158, allocations: 1.062 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004164, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 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.0004227/0.004587, allocations: 358.2 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.004635, allocations: 12.03 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.004772, allocations: 16.83 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004881, allocations: 104.6 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.004896, allocations: 384 / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.004907, allocations: 6.25 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.005065, allocations: 62.88 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005074, allocations: 192 / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005085, allocations: 384 / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.005095, allocations: 2.719 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.005133, allocations: 7.938 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.005491, allocations: 247.8 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.005555, allocations: 31 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.005583, allocations: 11.67 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.005602, allocations: 4.062 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.005633, allocations: 34.02 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.005634, allocations: 1.656 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001938/0.005828, allocations: 49.58 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.005871, allocations: 51.41 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.005966, allocations: 161.9 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.005979, allocations: 26.48 kB / 0.7899 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.006034, allocations: 130.8 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.006057, allocations: 8.688 kB / 0.7901 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.006095, allocations: 23.38 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.006236, allocations: 493.6 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.006254, allocations: 4 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.006266, allocations: 0 / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.006304, allocations: 18 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006306, allocations: 0 / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.996e-05/0.006386, allocations: 37.69 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.006403, allocations: 8 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.006409, allocations: 3.938 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.006423, allocations: 0.7188 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.006519, allocations: 7.938 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.006525, allocations: 0.5312 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.006554, allocations: 13.58 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.006559, allocations: 0 / 0.7907 GB, free: 8.945 MB / 0.7448 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 7.061e-05/0.00663, allocations: 152.6 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.006655, allocations: 11.94 kB / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.006764, allocations: 41.56 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006766, allocations: 5.312 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.00677, allocations: 0 / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.006774, allocations: 0 / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.006913, allocations: 120.6 kB / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006915, allocations: 1.156 kB / 0.791 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.006966, allocations: 4 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.006969, allocations: 0 / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.006976, allocations: 1.375 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.006982, allocations: 7.875 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006983, allocations: 4 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.007127, allocations: 189.7 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.007136, allocations: 4 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007151, allocations: 0 / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.007222, allocations: 7.922 kB / 0.7912 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.007273, allocations: 5.281 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.007276, allocations: 0 / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.007329, allocations: 127.2 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.007329, allocations: 0 / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002603/0.00759, allocations: 4.688 kB / 0.7913 GB, free: 8.207 MB / 0.7448 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 0.0001264/0.007716, allocations: 96.11 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.007812, allocations: 21.19 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007814, allocations: 0 / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.007837, allocations: 15.69 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.008131, allocations: 1 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.008713, allocations: 133.6 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.156e-05/0.008754, allocations: 55.36 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.008777, allocations: 0 / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.008809, allocations: 8.5 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.008809, allocations: 0 / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.002888/0.0117, allocations: 496.9 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.187821075087413]