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.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.001405/0.001405, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.00149/0.00149, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.532/1.532, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.953/2.953, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001968/0.001968, allocations: 63.91 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242/1.244, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002012/1.246, allocations: 0.6862 MB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/1.247, allocations: 0.8135 MB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/1.247, allocations: 0.5938 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/1.247, allocations: 3.938 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/1.247, allocations: 1.5 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/1.247, allocations: 16.52 kB / 1.274 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/1.247, allocations: 21.19 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/1.247, allocations: 3.062 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/1.247, allocations: 17.17 kB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/1.248, allocations: 9.703 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/1.248, allocations: 1.875 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/1.248, allocations: 2.531 kB / 1.274 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/1.248, allocations: 4.984 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/1.248, allocations: 11.27 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/1.248, allocations: 28.89 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.248, allocations: 0.9375 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.248, allocations: 0 / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.002e-06/1.248, allocations: 0 / 1.274 GB, free: 6.828 MB / 0.9981 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.0004312/1.248, allocations: 335.3 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.248, allocations: 10.22 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/1.248, allocations: 10.48 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.248, allocations: 163.2 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/1.248, allocations: 0.9062 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/1.248, allocations: 1.844 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.249, allocations: 53.42 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.249, allocations: 192 / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.249, allocations: 3.938 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.249, allocations: 5.484 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/1.249, allocations: 33.12 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/1.249, allocations: 247.6 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/1.249, allocations: 40.33 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/1.249, allocations: 29.73 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/1.249, allocations: 3.938 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/1.249, allocations: 32.69 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/1.249, allocations: 4.594 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000352/1.25, allocations: 83.88 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/1.25, allocations: 55.53 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/1.25, allocations: 97.36 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/1.25, allocations: 25.7 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/1.25, allocations: 85.84 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/1.25, allocations: 7.625 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/1.25, allocations: 12.62 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/1.25, allocations: 315.8 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/1.25, allocations: 13.53 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/1.25, allocations: 27.3 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/1.25, allocations: 36.33 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.25, allocations: 0 / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/1.25, allocations: 68.53 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.25, allocations: 11.09 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/1.25, allocations: 0 / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.25, allocations: 1.062 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.25, allocations: 8.906 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.25, allocations: 0 / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/1.251, allocations: 8.109 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/1.251, allocations: 0.9375 kB / 1.275 GB, free: 5.121 MB / 0.9981 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 5.222e-05/1.251, allocations: 119.2 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/1.251, allocations: 5.594 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/1.251, allocations: 67.36 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.251, allocations: 4.984 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.251, allocations: 0 / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.251, allocations: 1.094 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/1.251, allocations: 159.9 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.251, allocations: 0 / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/1.251, allocations: 10.61 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.251, allocations: 4.562 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/1.251, allocations: 1.125 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/1.251, allocations: 0 / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.251, allocations: 4 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/1.251, allocations: 170.2 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/1.251, allocations: 78.11 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.251, allocations: 10 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/1.251, allocations: 5.953 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/1.251, allocations: 2.859 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/1.251, allocations: 5.031 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.676e-05/1.251, allocations: 84.44 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.251, allocations: 0 / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002166/1.252, allocations: 4.188 kB / 1.276 GB, free: 4.414 MB / 0.9981 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.0001448/1.252, allocations: 97.09 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00024/1.252, allocations: 43.59 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.252, allocations: 0 / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/1.252, allocations: 19.86 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/1.252, allocations: 9.609 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/1.253, allocations: 127.7 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/1.253, allocations: 0.6764 MB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.21e-05/1.253, allocations: 1 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/1.253, allocations: 8.594 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/1.253, allocations: 1.125 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.002996/1.256, allocations: 443.4 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.916014949791133]