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.001589/0.001589, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002506/0.002506, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.983/2.983, allocations: 476.7 MB / 0.7706 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 64.08 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4254, allocations: 170 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001993/0.4274, allocations: 0.6692 MB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.4286, allocations: 0.8511 MB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4286, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.4286, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.4287, allocations: 11.94 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.4289, allocations: 11.92 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.429, allocations: 31.86 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.4291, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.4292, allocations: 8 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.4292, allocations: 19.91 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4292, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.4293, allocations: 8 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.4293, allocations: 4 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.4293, allocations: 11.92 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.4295, allocations: 31.84 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4295, allocations: 4 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4295, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.4295, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 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.0005017/0.43, allocations: 264.4 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.43, allocations: 8.031 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.4301, allocations: 4.938 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4303, allocations: 110.4 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4303, allocations: 8.359 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4303, allocations: 8.375 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.4305, allocations: 46.25 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4305, allocations: 192 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4305, allocations: 3.938 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4305, allocations: 3.984 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.4307, allocations: 27.97 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.4311, allocations: 228 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.4312, allocations: 46.47 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4313, allocations: 20.91 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4314, allocations: 0 / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4314, allocations: 30.56 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.4314, allocations: 0 / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003717/0.4318, allocations: 89.58 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4318, allocations: 51.41 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.4319, allocations: 106 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4319, allocations: 25.7 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.432, allocations: 80.14 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.432, allocations: 3.953 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.432, allocations: 21.84 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4322, allocations: 310.8 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.4323, allocations: 15.97 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.4323, allocations: 19.98 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.4325, allocations: 36.89 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4325, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.4327, allocations: 77.47 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4327, allocations: 7.938 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4327, allocations: 48 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4327, allocations: 7.984 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.4328, allocations: 7.984 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4328, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4329, allocations: 12.02 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.4329, allocations: 0 / 1.287 GB, free: 7.773 MB / 0.9825 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.5e-05/0.433, allocations: 120.2 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.433, allocations: 3.953 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4332, allocations: 68.97 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4332, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4332, allocations: 3.938 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4332, allocations: 4.031 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.4334, allocations: 136.7 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4334, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.4335, allocations: 8 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4335, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.4335, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4335, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4335, allocations: 3.984 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4337, allocations: 159.5 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.4337, allocations: 3.984 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4337, allocations: 12 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.4338, allocations: 4 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.4338, allocations: 3.984 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.4338, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.4339, allocations: 79.28 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4339, allocations: 4.031 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002153/0.4341, allocations: 7.938 kB / 1.288 GB, free: 7.094 MB / 0.9825 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.0001269/0.4342, allocations: 97.64 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.4344, allocations: 39.95 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4344, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.4345, allocations: 16.05 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.4348, allocations: 7.938 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.4352, allocations: 110.3 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4355, allocations: 0.6806 MB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.4355, allocations: 3.938 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.4355, allocations: 7.438 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4355, allocations: 64 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.003028/0.4386, allocations: 451.2 kB / 1.289 GB, free: 5.637 MB / 0.9825 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.680889495182782]