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.001863/0.001863, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002169/0.002169, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.543/1.543, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.891/2.891, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 0.8688 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7508, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002304/0.7532, allocations: 0.7316 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.7544, allocations: 0.804 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.7544, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.7545, allocations: 3.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.7546, allocations: 7.984 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.7547, allocations: 4 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.7548, allocations: 23.92 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.7549, allocations: 4 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.755, allocations: 15.92 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.755, allocations: 8 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.7551, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.7551, allocations: 8 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.7551, allocations: 7.922 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.7551, allocations: 11.98 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.282e-05/0.7552, allocations: 23.91 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7552, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7553, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7553, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 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.0005225/0.7558, allocations: 333.4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.7558, allocations: 12.03 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.7559, allocations: 8.875 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.756, allocations: 168.3 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.7561, allocations: 384 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.7561, allocations: 4.375 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.7563, allocations: 50.23 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7563, allocations: 192 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7563, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7563, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.7565, allocations: 35.97 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.7569, allocations: 244.9 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.757, allocations: 42.59 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.7571, allocations: 24.89 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.7572, allocations: 7.938 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.7572, allocations: 30.56 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7572, allocations: 7.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003643/0.7576, allocations: 81.58 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.7576, allocations: 51.41 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.7579, allocations: 110 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.7579, allocations: 25.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.758, allocations: 84.08 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.758, allocations: 3.906 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.758, allocations: 17.72 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.7582, allocations: 314.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.7583, allocations: 11.98 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.7585, allocations: 23.98 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.7587, allocations: 32.83 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7587, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.7589, allocations: 69.53 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7589, allocations: 8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7589, allocations: 96 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.7589, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.759, allocations: 7.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7591, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.7591, allocations: 7.984 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.7591, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 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.862e-05/0.7592, allocations: 118.3 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.7593, allocations: 7.844 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.7595, allocations: 76.72 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7595, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7595, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7595, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.7597, allocations: 165.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7597, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.7598, allocations: 11.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7598, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.7598, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.7598, allocations: 4.031 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7598, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.7601, allocations: 163.4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.7602, allocations: 77.11 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.7602, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.7603, allocations: 12.02 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.7603, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.7603, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.278e-05/0.7604, allocations: 79.28 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7604, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002106/0.7606, allocations: 7.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 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.0001458/0.7608, allocations: 99.23 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.761, allocations: 43.97 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.761, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.7611, allocations: 15.98 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.7614, allocations: 7.922 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.7618, allocations: 126.1 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7622, allocations: 0.6768 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.7622, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.7622, allocations: 7.438 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7622, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.002812/0.765, allocations: 395.2 kB / 1.022 GB, free: 12.79 MB / 0.7794 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=400 -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/jenkins/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