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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 103.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 189.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437.1 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.5 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3207, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002622/0.3233, allocations: 0.6692 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3244, allocations: 0.8117 MB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.3245, allocations: 0 / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.3245, allocations: 0 / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.3246, allocations: 3.938 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3247, allocations: 7.984 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.3248, allocations: 27.92 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3249, allocations: 4 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.325, allocations: 15.92 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.3251, allocations: 11.98 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3251, allocations: 4 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.3251, allocations: 0 / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.3251, allocations: 3.938 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.3251, allocations: 11.98 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.32e-05/0.3252, allocations: 23.91 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3252, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3252, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3252, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 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.0004497/0.3257, allocations: 343.7 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3257, allocations: 8.031 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3258, allocations: 4.844 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3259, allocations: 164.4 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3259, allocations: 384 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.326, allocations: 384 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3261, allocations: 54.17 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3261, allocations: 192 / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3262, allocations: 3.938 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.3262, allocations: 4 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3263, allocations: 39.94 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.3267, allocations: 248.9 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3268, allocations: 46.41 kB / 1.02 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.3269, allocations: 28.91 kB / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.327, allocations: 0 / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.327, allocations: 30.56 kB / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.327, allocations: 3.938 kB / 1.02 GB, free: 7.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003603/0.3274, allocations: 81.77 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3274, allocations: 55.41 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.3275, allocations: 105.8 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3275, allocations: 25.7 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3276, allocations: 80.14 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3276, allocations: 7.906 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3276, allocations: 13.72 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3278, allocations: 314.8 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.3279, allocations: 19.97 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.328, allocations: 15.98 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3281, allocations: 36.83 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3282, allocations: 0 / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.3284, allocations: 77.56 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3284, allocations: 4 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3284, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3284, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.3285, allocations: 15.92 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3285, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.3286, allocations: 7.984 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3286, allocations: 4 kB / 1.021 GB, free: 6.93 MB / 0.795 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.77e-05/0.3287, allocations: 116.2 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3287, allocations: 4 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.329, allocations: 68.78 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.329, allocations: 0 / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.329, allocations: 0 / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.329, allocations: 0 / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3292, allocations: 165.6 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3292, allocations: 0 / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.3293, allocations: 12.03 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3293, allocations: 3.938 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3293, allocations: 0 / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3293, allocations: 7.938 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3293, allocations: 3.984 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3296, allocations: 155.5 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.3296, allocations: 85.12 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3297, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.3297, allocations: 4 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3298, allocations: 3.984 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3298, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.3299, allocations: 79.28 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3299, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002198/0.3301, allocations: 11.88 kB / 1.022 GB, free: 6.121 MB / 0.795 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.0001486/0.3302, allocations: 107.2 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3305, allocations: 39.89 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3305, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.3306, allocations: 15.98 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3309, allocations: 11.94 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.3313, allocations: 140.7 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3316, allocations: 0.6768 MB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3317, allocations: 11.44 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3317, allocations: 0 / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of Templates: time 0.002104/0.3338, allocations: 0.5447 MB / 1.024 GB, free: 4.516 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches