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.00103/0.00103, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001119/0.001119, allocations: 169 kB / 24.05 MB, free: 460 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.9413/0.9413, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.095/2.095, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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 1.423e-06/1.423e-06, allocations: 0 / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.265e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001051/0.001064, allocations: 0.6846 MB / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007123/0.001776, allocations: 0.8727 MB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.001801, allocations: 0 / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.001822, allocations: 3.938 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.001876, allocations: 2.984 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.002006, allocations: 19.86 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.002056, allocations: 24.98 kB / 0.881 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.002123, allocations: 7.984 kB / 0.881 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.002178, allocations: 11.98 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.622e-05/0.002204, allocations: 9.062 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.002215, allocations: 0 / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.358e-05/0.002248, allocations: 7.938 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.002263, allocations: 9.078 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.219e-05/0.002275, allocations: 7.938 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.27e-05/0.002348, allocations: 19.97 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.002349, allocations: 1.062 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002349, allocations: 0 / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.002353, allocations: 0 / 0.8811 GB, free: 4.277 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.0002482/0.002601, allocations: 361.2 kB / 0.8815 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.002628, allocations: 9.375 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.002694, allocations: 8.922 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.043e-05/0.002755, allocations: 112.6 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.002763, allocations: 384 / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.002767, allocations: 0.9688 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.002845, allocations: 60.27 kB / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-06/0.002849, allocations: 192 / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.002854, allocations: 384 / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-06/0.002857, allocations: 384 / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.002875, allocations: 12.67 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.003052, allocations: 228.5 kB / 0.8819 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.003087, allocations: 35.53 kB / 0.8819 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.185e-05/0.003099, allocations: 8.781 kB / 0.8819 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.00311, allocations: 0 / 0.8819 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.003124, allocations: 37.45 kB / 0.8819 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.003125, allocations: 0.5312 kB / 0.8819 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 9.197e-05/0.003217, allocations: 46.81 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.00324, allocations: 51.41 kB / 0.882 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.003296, allocations: 165.4 kB / 0.8822 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.003305, allocations: 25.7 kB / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.003338, allocations: 130.9 kB / 0.8823 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.003352, allocations: 3.953 kB / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.003375, allocations: 27.31 kB / 0.8824 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.003474, allocations: 492.1 kB / 0.8828 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.003481, allocations: 0 / 0.8828 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.003489, allocations: 7.984 kB / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.003508, allocations: 16.58 kB / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.003509, allocations: 0 / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.116e-05/0.003551, allocations: 38.25 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.003559, allocations: 4 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.003562, allocations: 1.312 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.003569, allocations: 3.938 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.219e-05/0.003611, allocations: 11.92 kB / 0.8829 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.003614, allocations: 4.219 kB / 0.8829 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.00363, allocations: 7.938 kB / 0.8829 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.003633, allocations: 0 / 0.8829 GB, free: 2.215 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.269e-05/0.003686, allocations: 160.6 kB / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.003699, allocations: 0 / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.003754, allocations: 41 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.003756, allocations: 3.938 kB / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.003757, allocations: 0 / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.00376, allocations: 192 / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.003836, allocations: 101.2 kB / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.003839, allocations: 8.016 kB / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.003856, allocations: 8 kB / 0.8832 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003857, allocations: 0 / 0.8832 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.00386, allocations: 4 kB / 0.8833 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003861, allocations: 3.938 kB / 0.8833 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.003862, allocations: 3.938 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.003938, allocations: 183.9 kB / 0.8834 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.003944, allocations: 7.953 kB / 0.8834 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-06/0.003951, allocations: 0 / 0.8834 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.003981, allocations: 7.984 kB / 0.8834 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.004002, allocations: 8.031 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.004005, allocations: 3.938 kB / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.004034, allocations: 123.2 kB / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004034, allocations: 0 / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001286/0.004163, allocations: 4 kB / 0.8836 GB, free: 1.492 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 5.558e-05/0.004218, allocations: 95.23 kB / 0.8837 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.523e-05/0.004264, allocations: 19.61 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.004265, allocations: 0 / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.00428, allocations: 15.75 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.004437, allocations: 8 kB / 0.8837 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.004716, allocations: 114.5 kB / 0.8838 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.004742, allocations: 55.3 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.249e-05/0.004755, allocations: 0 / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.004793, allocations: 74.2 kB / 0.8839 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.004793, allocations: 0 / 0.8839 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of Templates: time 0.001604/0.006397, allocations: 0.5351 MB / 0.8845 GB, free: 0.5273 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.17043310822919]