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.0009486/0.0009486, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009679/0.0009679, allocations: 159 kB / 24.86 MB, free: 8.312 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.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 4.516 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.881/1.881, allocations: 359 MB / 0.6063 GB, free: 11.18 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 2.525e-06/2.525e-06, allocations: 0 / 0.7884 GB, free: 436 kB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.667e-05, allocations: 6.312 kB / 0.7884 GB, free: 428 kB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001761/0.001788, allocations: 0.691 MB / 0.789 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002852, allocations: 0.8625 MB / 0.7899 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.002889, allocations: 0 / 0.7899 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.002916, allocations: 0 / 0.7899 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.002985, allocations: 7.938 kB / 0.7899 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003154, allocations: 11.92 kB / 0.7899 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.003221, allocations: 23.94 kB / 0.7899 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.003313, allocations: 7.984 kB / 0.7899 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.003392, allocations: 12 kB / 0.79 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.003429, allocations: 11.97 kB / 0.79 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003445, allocations: 4 kB / 0.79 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.53e-05/0.00349, allocations: 7.938 kB / 0.79 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.003507, allocations: 4 kB / 0.79 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.003525, allocations: 11.92 kB / 0.79 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.003621, allocations: 15.98 kB / 0.79 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003624, allocations: 0 / 0.79 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003624, allocations: 0 / 0.79 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.003629, allocations: 0 / 0.79 GB, free: 14.73 MB / 0.7605 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.0003557/0.003985, allocations: 364.6 kB / 0.7904 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.004032, allocations: 12.03 kB / 0.7904 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.004128, allocations: 8.859 kB / 0.7904 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.81e-05/0.004226, allocations: 116.6 kB / 0.7905 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.004236, allocations: 384 / 0.7905 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.004242, allocations: 384 / 0.7905 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.004345, allocations: 50.95 kB / 0.7905 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004351, allocations: 192 / 0.7905 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.004358, allocations: 384 / 0.7905 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.004364, allocations: 4.375 kB / 0.7905 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.004388, allocations: 11.92 kB / 0.7905 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.004626, allocations: 232.4 kB / 0.7908 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.09e-05/0.004677, allocations: 35.05 kB / 0.7908 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.004696, allocations: 11.75 kB / 0.7908 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004708, allocations: 0 / 0.7908 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.004731, allocations: 37.33 kB / 0.7909 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.004732, allocations: 0 / 0.7909 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.004867, allocations: 45.56 kB / 0.7909 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.004904, allocations: 55.41 kB / 0.7909 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.004974, allocations: 154.1 kB / 0.7911 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.004989, allocations: 37.69 kB / 0.7911 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.005034, allocations: 126.9 kB / 0.7913 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.005051, allocations: 7.938 kB / 0.7913 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.005086, allocations: 19.38 kB / 0.7913 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.005219, allocations: 492.1 kB / 0.7917 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.00523, allocations: 4 kB / 0.7917 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.005239, allocations: 0 / 0.7917 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.005268, allocations: 15.67 kB / 0.7918 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00527, allocations: 0 / 0.7918 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.964e-05/0.00534, allocations: 49.66 kB / 0.7918 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005351, allocations: 4 kB / 0.7918 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005356, allocations: 0 / 0.7918 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005367, allocations: 7.938 kB / 0.7918 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.005425, allocations: 7.984 kB / 0.7918 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.005428, allocations: 0 / 0.7918 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.005452, allocations: 3.938 kB / 0.7918 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005456, allocations: 4 kB / 0.7918 GB, free: 12.65 MB / 0.7605 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.132e-05/0.005527, allocations: 152.6 kB / 0.792 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.005549, allocations: 32 / 0.792 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.005627, allocations: 52.94 kB / 0.792 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00563, allocations: 3.938 kB / 0.792 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005631, allocations: 0 / 0.792 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.005636, allocations: 4 kB / 0.792 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.005763, allocations: 97.23 kB / 0.7921 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.005766, allocations: 8 kB / 0.7921 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.005802, allocations: 4 kB / 0.7921 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.005804, allocations: 0 / 0.7921 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.005808, allocations: 0 / 0.7921 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00581, allocations: 0 / 0.7921 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.005811, allocations: 4.031 kB / 0.7922 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.005928, allocations: 191.9 kB / 0.7923 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.005935, allocations: 7.891 kB / 0.7923 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.005944, allocations: 0 / 0.7923 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.006002, allocations: 7.984 kB / 0.7923 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.006033, allocations: 3.938 kB / 0.7924 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.006037, allocations: 3.938 kB / 0.7924 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.006081, allocations: 123.2 kB / 0.7925 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.006081, allocations: 0 / 0.7925 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002316/0.006312, allocations: 8 kB / 0.7925 GB, free: 11.93 MB / 0.7605 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 8.973e-05/0.006402, allocations: 99.27 kB / 0.7926 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.998e-05/0.006472, allocations: 15.69 kB / 0.7926 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006473, allocations: 0 / 0.7926 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.006493, allocations: 11.69 kB / 0.7926 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.006753, allocations: 7.938 kB / 0.7926 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.007135, allocations: 132.1 kB / 0.7927 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.007178, allocations: 59.3 kB / 0.7928 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.007198, allocations: 0 / 0.7928 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.007245, allocations: 70.2 kB / 0.7929 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.007246, allocations: 0 / 0.7929 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.002299/0.009545, allocations: 0.5282 MB / 0.7934 GB, free: 10.96 MB / 0.7605 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.3415970439091325]