Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001506/0.001506, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001664/0.001664, allocations: 168 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.705/2.705, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/4.086e-05, allocations: 10.22 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001904/0.001945, allocations: 0.6507 MB / 0.9517 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.00327, allocations: 0.8548 MB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.00331, allocations: 4 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.003335, allocations: 3.938 kB / 0.9525 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.0034, allocations: 4 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.003582, allocations: 7.984 kB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.00366, allocations: 27.92 kB / 0.9526 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.003756, allocations: 3.984 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.003857, allocations: 27.84 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.003897, allocations: 4 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003915, allocations: 4 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.003961, allocations: 7.984 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.003992, allocations: 4 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.00402, allocations: 8 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.004137, allocations: 35.81 kB / 0.9527 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00414, allocations: 0 / 0.9527 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004141, allocations: 0 / 0.9527 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.004145, allocations: 4 kB / 0.9527 GB, free: 9.836 MB / 0.8575 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.0004613/0.004606, allocations: 258.3 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.004645, allocations: 8.031 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.004729, allocations: 4.938 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004859, allocations: 109.8 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.004872, allocations: 4.375 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.00488, allocations: 384 / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.005067, allocations: 50.23 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005077, allocations: 192 / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005086, allocations: 4.312 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.00509, allocations: 384 / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.005273, allocations: 39.89 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.005591, allocations: 188.6 kB / 0.9533 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.005728, allocations: 38.56 kB / 0.9533 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.005823, allocations: 20.89 kB / 0.9533 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.005845, allocations: 4 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.005888, allocations: 34.5 kB / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.005889, allocations: 0 / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.006273, allocations: 85.67 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.006316, allocations: 59.38 kB / 0.9535 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.006416, allocations: 97.86 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.006436, allocations: 29.64 kB / 0.9536 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.006491, allocations: 92.06 kB / 0.9537 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.00651, allocations: 7.953 kB / 0.9537 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.006545, allocations: 13.72 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.006704, allocations: 310.8 kB / 0.9541 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.006792, allocations: 15.98 kB / 0.9541 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.006877, allocations: 27.91 kB / 0.9541 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.007038, allocations: 32.83 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.00704, allocations: 0 / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/0.007254, allocations: 69.66 kB / 0.9542 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.007268, allocations: 4 kB / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.007279, allocations: 7.938 kB / 0.9542 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.007296, allocations: 4.094 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.007389, allocations: 7.984 kB / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.007394, allocations: 0 / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.007446, allocations: 7.953 kB / 0.9542 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.007451, allocations: 0 / 0.9542 GB, free: 8.055 MB / 0.8575 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 9.281e-05/0.007544, allocations: 109.8 kB / 0.9543 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.00757, allocations: 7.922 kB / 0.9543 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.007841, allocations: 76.91 kB / 0.9544 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007843, allocations: 4.031 kB / 0.9544 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.00785, allocations: 4 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007853, allocations: 0 / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.008002, allocations: 105.3 kB / 0.9545 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008003, allocations: 0 / 0.9545 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.008067, allocations: 8 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.008068, allocations: 0 / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.008075, allocations: 192 / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.008079, allocations: 3.938 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.008082, allocations: 3.984 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.008355, allocations: 163.5 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.00837, allocations: 11.98 kB / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.008383, allocations: 0 / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.008464, allocations: 7.938 kB / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.008502, allocations: 7.984 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.008506, allocations: 0 / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.008554, allocations: 83.22 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.008554, allocations: 0 / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002296/0.008784, allocations: 11.98 kB / 0.9548 GB, free: 7.395 MB / 0.8575 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.0001293/0.008913, allocations: 95.25 kB / 0.9549 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.009136, allocations: 39.89 kB / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009137, allocations: 0 / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.009234, allocations: 23.92 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.009528, allocations: 128 / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.009849, allocations: 108.9 kB / 0.9551 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.338e-05/0.009923, allocations: 63.34 kB / 0.9551 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.009944, allocations: 0 / 0.9551 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.009977, allocations: 8.5 kB / 0.9551 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.009977, allocations: 0 / 0.9551 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of Templates: time 0.003131/0.01311, allocations: 491.6 kB / 0.9556 GB, free: 6.535 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9922367967665195]