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.001455/0.001455, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00161/0.00161, allocations: 161 kB / 23.82 MB, free: 0.75 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.9335/0.9335, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.788/1.788, allocations: 359 MB / 0.6052 GB, free: 10.99 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.875e-06/2.875e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.54e-05, allocations: 8.219 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001965/0.002001, allocations: 0.6822 MB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003098, allocations: 0.8721 MB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.003134, allocations: 0 / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.003167, allocations: 3.938 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.003239, allocations: 0.8438 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.00346, allocations: 15.92 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.003541, allocations: 24.48 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.003631, allocations: 4.688 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.003717, allocations: 19.92 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.003756, allocations: 8.891 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.003772, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.003822, allocations: 7.938 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.00384, allocations: 8.641 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.003859, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003985, allocations: 25.58 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003988, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003989, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.003994, allocations: 0 / 0.7888 GB, free: 10.71 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.0003852/0.004379, allocations: 362.2 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.004425, allocations: 8.031 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.004544, allocations: 8.891 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.004645, allocations: 104.6 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004659, allocations: 7.812 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.004668, allocations: 384 / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.004802, allocations: 58.89 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.00481, allocations: 192 / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.00482, allocations: 384 / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.004838, allocations: 8.109 kB / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.004872, allocations: 4 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.005178, allocations: 247.8 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.005244, allocations: 31.77 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.005271, allocations: 15.73 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.005288, allocations: 0.5312 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.005311, allocations: 34.77 kB / 0.7897 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.005313, allocations: 0 / 0.7897 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.005485, allocations: 45.59 kB / 0.7897 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.005521, allocations: 56.69 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.005604, allocations: 165.9 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.005614, allocations: 25.7 kB / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.005662, allocations: 134.8 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.00568, allocations: 4.609 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.005713, allocations: 24.09 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.005839, allocations: 496.1 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.005854, allocations: 5.094 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.005866, allocations: 0 / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.005902, allocations: 12.53 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005904, allocations: 0 / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.34e-05/0.005977, allocations: 47.03 kB / 0.7906 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.005992, allocations: 9.5 kB / 0.7906 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005996, allocations: 0 / 0.7906 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.006009, allocations: 0.5938 kB / 0.7906 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.006079, allocations: 7.938 kB / 0.7906 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.006084, allocations: 0.5625 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.006111, allocations: 8.969 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006116, allocations: 0 / 0.7907 GB, free: 8.621 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.264e-05/0.006189, allocations: 161.5 kB / 0.7908 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.006217, allocations: 4 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.006317, allocations: 46.09 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.00632, allocations: 4 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.006324, allocations: 0 / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006327, allocations: 1.438 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.006446, allocations: 112.6 kB / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006448, allocations: 0 / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.006479, allocations: 7.984 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.006482, allocations: 4.531 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.006489, allocations: 0.5312 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.006493, allocations: 7.875 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.006494, allocations: 0.5312 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.006608, allocations: 188.8 kB / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.006616, allocations: 4 kB / 0.7912 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.006627, allocations: 0.8438 kB / 0.7912 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.006682, allocations: 7.938 kB / 0.7912 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.00672, allocations: 4.797 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.006723, allocations: 0 / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.006767, allocations: 128.1 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.006767, allocations: 3.938 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002436/0.007011, allocations: 4 kB / 0.7913 GB, free: 7.879 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.0001004/0.007111, allocations: 92.47 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.007208, allocations: 24.52 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00721, allocations: 0 / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.007232, allocations: 13.91 kB / 0.7914 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.007503, allocations: 11.94 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.008023, allocations: 125.5 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.008065, allocations: 59.34 kB / 0.7916 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.00809, allocations: 0 / 0.7916 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.008118, allocations: 8.5 kB / 0.7916 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.008119, allocations: 4 kB / 0.7916 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.00257/0.01069, allocations: 0.5017 MB / 0.7921 GB, free: 7.012 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.025485477875918]