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.0008387/0.0008387, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008465/0.0008465, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8564/0.8564, allocations: 177.1 MB / 203.5 MB, free: 5.734 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 1.745/1.745, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.144e-06/2.144e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.472e-05, allocations: 2.281 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001324/0.001349, allocations: 0.6742 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.002048, allocations: 0.8315 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.002077, allocations: 7.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.0021, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.002151, allocations: 7.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.002307, allocations: 11.94 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.002371, allocations: 27.91 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.00246, allocations: 8 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.002519, allocations: 15.92 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.915e-05/0.002548, allocations: 7.984 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.00256, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.002597, allocations: 4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.002609, allocations: 4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.002626, allocations: 7.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.91e-05/0.002715, allocations: 39.88 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002717, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002718, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002721, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 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.0003067/0.003027, allocations: 262.3 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.003062, allocations: 8.75 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.003121, allocations: 0.9375 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.13e-05/0.003192, allocations: 105.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.003203, allocations: 4.375 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003211, allocations: 4.375 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003323, allocations: 50.23 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.003331, allocations: 4.188 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.00334, allocations: 8.297 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.003344, allocations: 384 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.00343, allocations: 35.89 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.003654, allocations: 184.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.003726, allocations: 46.59 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.003768, allocations: 24.84 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.003783, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.0038, allocations: 34.5 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.003801, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002059/0.004007, allocations: 89.53 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.004034, allocations: 51.41 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.004086, allocations: 106 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.004094, allocations: 25.7 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.004125, allocations: 88.08 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.004139, allocations: 3.953 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.004162, allocations: 13.72 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.004231, allocations: 314.8 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.004269, allocations: 19.97 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.483e-05/0.004304, allocations: 23.86 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.004378, allocations: 40.89 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.00438, allocations: 0 / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.255e-05/0.004472, allocations: 65.66 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.004482, allocations: 4 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.004488, allocations: 3.938 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.004498, allocations: 0 / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.004553, allocations: 16.02 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.004557, allocations: 0 / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.004579, allocations: 11.98 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.004583, allocations: 0 / 1.004 GB, free: 9.488 MB / 0.9636 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 4.497e-05/0.004628, allocations: 109.8 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.004639, allocations: 7.938 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.004755, allocations: 68.91 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004756, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.00476, allocations: 4.031 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004763, allocations: 0 / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.042e-05/0.004843, allocations: 113.3 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004844, allocations: 0 / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.004865, allocations: 7.984 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004866, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.004871, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.004874, allocations: 11.88 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.004875, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.004995, allocations: 167.5 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-06/0.004999, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.005008, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.005044, allocations: 11.92 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.005072, allocations: 4 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.005074, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.005099, allocations: 83.28 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005099, allocations: 0 / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001347/0.005233, allocations: 4 kB / 1.005 GB, free: 8.84 MB / 0.9636 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 6.297e-05/0.005296, allocations: 99.27 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.005406, allocations: 31.97 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005407, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.005445, allocations: 19.92 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.005626, allocations: 11.98 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.005834, allocations: 143.4 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.00587, allocations: 55.36 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.005892, allocations: 12.44 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.005892, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of Templates: time 0.001194/0.007086, allocations: 0.5696 MB / 1.006 GB, free: 7.848 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.3204855071380734]