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.001311/0.001311, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009726/0.0009726, allocations: 169 kB / 23.02 MB, free: 1.551 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.9924/0.9924, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.202/2.202, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 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.605e-06/2.605e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.386e-05, allocations: 5.5 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001898/0.001932, allocations: 0.6936 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.002768, allocations: 0.8648 MB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.002799, allocations: 1.062 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.002828, allocations: 0 / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.002891, allocations: 3.172 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.00307, allocations: 15.92 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.003134, allocations: 29.34 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.003223, allocations: 5.016 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.003287, allocations: 15.92 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.00332, allocations: 8 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003334, allocations: 4.594 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.948e-05/0.003383, allocations: 8.594 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003401, allocations: 7.984 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.003421, allocations: 1 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003531, allocations: 27.91 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003535, allocations: 0 / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003536, allocations: 0.7812 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.003541, allocations: 0 / 0.8799 GB, free: 4.586 MB / 0.8386 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.0003518/0.003893, allocations: 365.8 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.003931, allocations: 8.031 kB / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.332e-05/0.004024, allocations: 4.938 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.004101, allocations: 113.4 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.004113, allocations: 4.312 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.004123, allocations: 0.875 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.004236, allocations: 56.05 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.004246, allocations: 4.172 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004255, allocations: 384 / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.004263, allocations: 5.219 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.004292, allocations: 7.922 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.004556, allocations: 240.7 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.004612, allocations: 35 kB / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.004631, allocations: 19.44 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.00465, allocations: 0 / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004671, allocations: 37.39 kB / 0.8807 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004672, allocations: 0 / 0.8807 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.004811, allocations: 41.64 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.00484, allocations: 55.34 kB / 0.8808 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.004906, allocations: 157.9 kB / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.004917, allocations: 25.7 kB / 0.881 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.004958, allocations: 135.5 kB / 0.8811 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.004976, allocations: 3.953 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.005, allocations: 19.97 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003702/0.00537, allocations: 0.4884 MB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.005384, allocations: 1.531 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.005395, allocations: 4 kB / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.00542, allocations: 15.81 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005422, allocations: 4 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.309e-05/0.005475, allocations: 49.58 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005487, allocations: 6.188 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.005493, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.005508, allocations: 0 / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.005582, allocations: 8 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005587, allocations: 0 / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.005604, allocations: 7.938 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005611, allocations: 4 kB / 0.8817 GB, free: 2.484 MB / 0.8386 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 5.521e-05/0.005666, allocations: 160.6 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.005679, allocations: 0 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.996e-05/0.005759, allocations: 48.94 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.00576, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.005764, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.005766, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.161e-05/0.005847, allocations: 112.6 kB / 0.882 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005848, allocations: 4 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.005871, allocations: 11.92 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005872, allocations: 0 / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.005877, allocations: 0 / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005879, allocations: 7.969 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.00588, allocations: 0 / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.535e-05/0.005955, allocations: 187.9 kB / 0.8822 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-06/0.00596, allocations: 3.953 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-06/0.005968, allocations: 0 / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.005998, allocations: 7.938 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.00603, allocations: 3.984 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.006032, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.006062, allocations: 127.4 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006062, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001346/0.006196, allocations: 8.031 kB / 0.8824 GB, free: 1.742 MB / 0.8386 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.101e-05/0.006277, allocations: 91.25 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.006353, allocations: 23.61 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006354, allocations: 0 / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.006369, allocations: 11.69 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.006555, allocations: 11.94 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.006952, allocations: 114.6 kB / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.006985, allocations: 59.34 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.006999, allocations: 4.078 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.007026, allocations: 16.5 kB / 0.8827 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of SimCode: time 7.52e-07/0.007027, allocations: 0 / 0.8827 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of Templates: time 0.001919/0.008946, allocations: 493 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 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.6012452081777155]