Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.86 kB / 1.057 GB, free: 1.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.292, allocations: 160.7 MB / 1.214 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002019/0.294, allocations: 0.6634 MB / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.295, allocations: 0.8157 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.295, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.2951, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.2951, allocations: 3.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.2953, allocations: 11.94 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.2953, allocations: 23.92 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.2954, allocations: 7.984 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.2955, allocations: 15.98 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.2955, allocations: 11.92 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2956, allocations: 4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.2956, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2956, allocations: 4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.2956, allocations: 7.938 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.2957, allocations: 27.78 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2957, allocations: 0 / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.32e-06/0.2957, allocations: 3.984 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2957, allocations: 4 kB / 1.216 GB, free: 15.24 MB / 0.9669 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.0005504/0.2963, allocations: 335.5 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2963, allocations: 12.02 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2964, allocations: 4.891 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2965, allocations: 164.4 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2965, allocations: 4.375 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2965, allocations: 4.375 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2967, allocations: 46.23 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2967, allocations: 4.125 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2968, allocations: 11.94 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2968, allocations: 4 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.297, allocations: 35.89 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.2973, allocations: 245 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.2975, allocations: 34.5 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.2976, allocations: 32.89 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2976, allocations: 0 / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2976, allocations: 30.56 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2976, allocations: 0 / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.298, allocations: 85.58 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.298, allocations: 55.53 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.2981, allocations: 101.8 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2982, allocations: 25.7 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.2982, allocations: 80.14 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.2982, allocations: 11.94 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.2983, allocations: 13.72 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2984, allocations: 314.8 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.2985, allocations: 19.98 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.2986, allocations: 11.98 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2987, allocations: 44.75 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2988, allocations: 0 / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002199/0.299, allocations: 77.61 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.299, allocations: 9.656 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.299, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.299, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.2991, allocations: 8 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2991, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.2992, allocations: 11.98 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.2992, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 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.551e-05/0.2992, allocations: 113.7 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2993, allocations: 8.031 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.2995, allocations: 76.7 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2995, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2995, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2995, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2997, allocations: 161.6 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2997, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.2998, allocations: 7.984 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2998, allocations: 4.031 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2998, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2998, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2998, allocations: 3.938 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3001, allocations: 167.4 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.3001, allocations: 81.06 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3001, allocations: 8.031 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.3002, allocations: 7.984 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3002, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3002, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.3003, allocations: 83.27 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3003, allocations: 0 / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002206/0.3005, allocations: 4 kB / 1.218 GB, free: 12.4 MB / 0.9669 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.0001469/0.3007, allocations: 107.2 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3009, allocations: 31.97 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3009, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.301, allocations: 23.91 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3013, allocations: 10.75 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3016, allocations: 139.8 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3019, allocations: 0.6768 MB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.302, allocations: 15.38 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.302, allocations: 0 / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of Templates: time 0.002282/0.3043, allocations: 0.5419 MB / 1.22 GB, free: 10.79 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.130187467904761]