Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001329/0.001329, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001539/0.001539, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.928/0.928, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.9822 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.406e-05, allocations: 8.75 kB / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00226/0.002294, allocations: 0.6638 MB / 0.9829 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.003642, allocations: 0.8509 MB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.00369, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.003732, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.003831, allocations: 7.938 kB / 0.9837 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.004113, allocations: 7.984 kB / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.004217, allocations: 27.92 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.004363, allocations: 0 / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004478, allocations: 19.92 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.004528, allocations: 7.984 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.004549, allocations: 4 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.00461, allocations: 11.98 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.004627, allocations: 4 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.004653, allocations: 4 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.004824, allocations: 31.83 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.004831, allocations: 0 / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of FrontEnd: time 2.244e-06/0.004833, allocations: 4 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.00484, allocations: 0 / 0.9839 GB, free: 368 kB / 0.9323 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.0005488/0.005389, allocations: 258.3 kB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.005445, allocations: 12.03 kB / 0.9841 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.005609, allocations: 8.891 kB / 0.9841 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.005757, allocations: 121.7 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.005773, allocations: 384 / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.005785, allocations: 4.375 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.00599, allocations: 46.23 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.006005, allocations: 192 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.006019, allocations: 4.375 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006025, allocations: 384 / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.006174, allocations: 39.89 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.006606, allocations: 192.6 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.006754, allocations: 38.5 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.00683, allocations: 28.89 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.006857, allocations: 0 / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.006882, allocations: 30.56 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.006883, allocations: 0 / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.007222, allocations: 93.52 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.007264, allocations: 55.34 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.007341, allocations: 93.86 kB / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.007355, allocations: 29.64 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.007402, allocations: 96.08 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.007423, allocations: 0 / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.007458, allocations: 13.72 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.007565, allocations: 314.8 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.007631, allocations: 11.98 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.007692, allocations: 28.09 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.007819, allocations: 32.83 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.007823, allocations: 0 / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.008005, allocations: 73.55 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.008025, allocations: 4 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.008033, allocations: 12.03 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.008052, allocations: 0 / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.008157, allocations: 7.984 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.008162, allocations: 0 / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.008198, allocations: 4 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.008204, allocations: 0 / 0.9854 GB, free: 14.56 MB / 0.948 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 8.09e-05/0.008285, allocations: 117.8 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.008309, allocations: 0 / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.008523, allocations: 76.91 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.008528, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.008534, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008538, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.008688, allocations: 109.2 kB / 0.9857 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008689, allocations: 0 / 0.9857 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.008736, allocations: 8 kB / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008739, allocations: 0 / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008747, allocations: 0 / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.008752, allocations: 7.922 kB / 0.9857 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.008754, allocations: 8.031 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.008925, allocations: 155.5 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.008935, allocations: 11.94 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.008947, allocations: 0 / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.008985, allocations: 7.938 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.009024, allocations: 3.984 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.009029, allocations: 0 / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.009066, allocations: 83.22 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009066, allocations: 4.031 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001463/0.009212, allocations: 8 kB / 0.986 GB, free: 13.91 MB / 0.948 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.0001384/0.009351, allocations: 99.72 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.009497, allocations: 39.89 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009498, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.009541, allocations: 15.98 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.009853, allocations: 8.125 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.01021, allocations: 142.5 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.01027, allocations: 59.34 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.0103, allocations: 12.44 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.0103, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of Templates: time 0.001676/0.01197, allocations: 0.5637 MB / 0.9869 GB, free: 12.93 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.660948453471065]