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.0008178/0.0008178, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001928, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007575/0.0007575, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009829/0.00174, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.977/0.977, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09301/1.07, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.905/1.905, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5526/2.458, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.364e-06/2.364e-06, allocations: 0 / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.21e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002306/0.002338, allocations: 0.7308 MB / 0.7304 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003372, allocations: 0.8714 MB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.003398, allocations: 0 / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.003423, allocations: 3.938 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.003465, allocations: 5.859 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.823e-05/0.003564, allocations: 15.91 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.003652, allocations: 28.8 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.003734, allocations: 6.5 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.00383, allocations: 21.95 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.003878, allocations: 7.984 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.003893, allocations: 0 / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.003966, allocations: 4.625 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.003984, allocations: 10.36 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.004002, allocations: 4.656 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004115, allocations: 22.81 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.807e-05/0.004133, allocations: 4 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004134, allocations: 0.6875 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.004151, allocations: 0 / 0.7314 GB, free: 2.637 MB / 0.698 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.0004104/0.004562, allocations: 233.9 kB / 0.7316 GB, free: 2.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.004604, allocations: 8.625 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.004773, allocations: 86.03 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004877, allocations: 110.6 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004888, allocations: 384 / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004898, allocations: 1.656 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.005016, allocations: 50.95 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005024, allocations: 1.062 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005031, allocations: 1.188 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.005038, allocations: 384 / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.005065, allocations: 16.45 kB / 0.7319 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.005287, allocations: 144.3 kB / 0.732 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.177e-05/0.005339, allocations: 20.34 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.005357, allocations: 12.91 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.005374, allocations: 0 / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.005401, allocations: 35.48 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.005402, allocations: 0.8125 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001357/0.005538, allocations: 35.17 kB / 0.7321 GB, free: 1.785 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.005574, allocations: 59.34 kB / 0.7322 GB, free: 1.715 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.005642, allocations: 114.7 kB / 0.7323 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.005653, allocations: 25.7 kB / 0.7323 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.005693, allocations: 81.02 kB / 0.7324 GB, free: 1.477 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.005715, allocations: 7.891 kB / 0.7324 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.005748, allocations: 14.56 kB / 0.7324 GB, free: 1.449 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.005849, allocations: 316.4 kB / 0.7327 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.005863, allocations: 5.75 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.005872, allocations: 0 / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.005904, allocations: 16.78 kB / 0.7327 GB, free: 1.109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005906, allocations: 0 / 0.7327 GB, free: 1.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.155e-05/0.005967, allocations: 38.19 kB / 0.7328 GB, free: 1.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.005984, allocations: 10.19 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.005991, allocations: 0 / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006005, allocations: 0 / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.006087, allocations: 12.5 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.006093, allocations: 9.094 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.006115, allocations: 4 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.006119, allocations: 0 / 0.7328 GB, free: 1.035 MB / 0.698 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 6.391e-05/0.006183, allocations: 106.6 kB / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.006205, allocations: 5.516 kB / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.006292, allocations: 41.88 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006294, allocations: 0 / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.006297, allocations: 3.938 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.0063, allocations: 0.5312 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.006415, allocations: 75.55 kB / 0.733 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006417, allocations: 0 / 0.733 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.006457, allocations: 4 kB / 0.733 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.006464, allocations: 3.953 kB / 0.733 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006466, allocations: 1.766 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.006472, allocations: 11.98 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006474, allocations: 0 / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.006476, allocations: 3.938 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.542e-05/0.006561, allocations: 128.8 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.006572, allocations: 4.75 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.006628, allocations: 4.719 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.006656, allocations: 0 / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.006659, allocations: 0.6562 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.709e-05/0.006676, allocations: 20.77 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.006676, allocations: 0.6875 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001883/0.006864, allocations: 8 kB / 0.7332 GB, free: 0.5703 MB / 0.698 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.0001067/0.006971, allocations: 78.75 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.007037, allocations: 8.859 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.007043, allocations: 6.359 kB / 0.7333 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.007068, allocations: 8.859 kB / 0.7333 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.007275, allocations: 34.19 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.008031, allocations: 122.5 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.008069, allocations: 60.5 kB / 0.7335 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.008092, allocations: 0 / 0.7335 GB, free: 200 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.008143, allocations: 53.39 kB / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.008144, allocations: 0 / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of Templates: time 0.002403/0.01055, allocations: 478.7 kB / 0.734 GB, free: 15.7 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.046223971992731]