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.001613/0.001613, allocations: 114.9 kB / 17.08 MB, free: 5.926 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.001584/0.001585, allocations: 195.7 kB / 20.03 MB, free: 3.004 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.427/1.427, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.697/2.697, allocations: 437.1 MB / 0.7178 GB, free: 4.492 MB / 0.5606 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.00257/0.00257, allocations: 67.91 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3166, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001874/0.3185, allocations: 0.6658 MB / 1.177 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3196, allocations: 0.8199 MB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.3196, allocations: 0 / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.3196, allocations: 3.984 kB / 1.177 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.3197, allocations: 3.938 kB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.3198, allocations: 8 kB / 1.177 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.3199, allocations: 23.91 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.32, allocations: 12 kB / 1.177 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.3201, allocations: 7.984 kB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.3201, allocations: 11.92 kB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3201, allocations: 4 kB / 1.177 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.3201, allocations: 0 / 1.177 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3202, allocations: 8 kB / 1.177 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3202, allocations: 3.938 kB / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.3203, allocations: 31.83 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3203, allocations: 0 / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3203, allocations: 0 / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3203, allocations: 0 / 1.177 GB, free: 4.309 MB / 0.92 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.0004615/0.3208, allocations: 343.5 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3208, allocations: 11.97 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.3208, allocations: 0.9375 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.321, allocations: 172.3 kB / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.321, allocations: 384 / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.321, allocations: 384 / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3212, allocations: 50.23 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3212, allocations: 192 / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3212, allocations: 7.938 kB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3212, allocations: 0 / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3214, allocations: 31.97 kB / 1.178 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.3217, allocations: 248.9 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3219, allocations: 46.48 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.322, allocations: 20.91 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.322, allocations: 4 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.322, allocations: 34.55 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.322, allocations: 0 / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003622/0.3224, allocations: 81.69 kB / 1.178 GB, free: 3.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3224, allocations: 55.39 kB / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.3225, allocations: 97.86 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3226, allocations: 29.64 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.3226, allocations: 88.14 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.3226, allocations: 3.953 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.3227, allocations: 17.64 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3228, allocations: 314.8 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.3229, allocations: 20.02 kB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.323, allocations: 11.98 kB / 1.179 GB, free: 2.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3231, allocations: 44.81 kB / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3232, allocations: 0 / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.3234, allocations: 81.56 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3234, allocations: 6.344 kB / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3234, allocations: 3.984 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3234, allocations: 0 / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.3235, allocations: 8 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3235, allocations: 0 / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3236, allocations: 7.984 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3236, allocations: 0 / 1.179 GB, free: 2.277 MB / 0.92 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.266e-05/0.3237, allocations: 117.8 kB / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3237, allocations: 4 kB / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.3239, allocations: 72.72 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3239, allocations: 3.984 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3239, allocations: 0 / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.324, allocations: 4 kB / 1.179 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3241, allocations: 157.6 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3241, allocations: 0 / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.3242, allocations: 12.02 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3242, allocations: 0 / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3242, allocations: 4 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3242, allocations: 0 / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3242, allocations: 0 / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3245, allocations: 163.5 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3246, allocations: 85.09 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.3246, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.3247, allocations: 7.984 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.3247, allocations: 3.938 kB / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3247, allocations: 4 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.3248, allocations: 83.22 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3248, allocations: 0 / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000215/0.325, allocations: 7.984 kB / 1.18 GB, free: 1.461 MB / 0.92 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.0001357/0.3251, allocations: 103.2 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3254, allocations: 31.97 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3254, allocations: 0 / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.3255, allocations: 23.97 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.3258, allocations: 15.86 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.3261, allocations: 135.8 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3264, allocations: 0.6768 MB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.3265, allocations: 11.44 kB / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.3265, allocations: 0 / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of Templates: time 0.001947/0.3284, allocations: 0.5355 MB / 1.181 GB, free: 15.86 MB / 0.9356 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.143629227997735]