Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01205/0.01205, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.00233/0.00233, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.564/1.564, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.006/3.006, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.89 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3696, allocations: 157.4 MB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002332/0.372, allocations: 0.6711 MB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3732, allocations: 0.804 MB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.3733, allocations: 0 / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.3733, allocations: 0 / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.3735, allocations: 3.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.3737, allocations: 11.98 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3738, allocations: 23.94 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.374, allocations: 11.97 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.3741, allocations: 11.94 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.3741, allocations: 7.984 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3742, allocations: 4 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.3742, allocations: 0 / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3742, allocations: 7.938 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3743, allocations: 4 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3744, allocations: 27.83 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3744, allocations: 0 / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3744, allocations: 4 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3744, allocations: 0 / 1.209 GB, free: 7.953 MB / 0.9669 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.0005839/0.375, allocations: 343.4 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3751, allocations: 8.625 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3751, allocations: 0.9375 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3753, allocations: 168.4 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3753, allocations: 384 / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3753, allocations: 384 / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3755, allocations: 54.23 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3755, allocations: 192 / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3756, allocations: 3.938 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3756, allocations: 0 / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3758, allocations: 39.89 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.3762, allocations: 244.9 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3763, allocations: 46.44 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3765, allocations: 28.89 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3765, allocations: 3.938 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3765, allocations: 30.56 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.846e-06/0.3765, allocations: 3.984 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000365/0.3769, allocations: 89.58 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3769, allocations: 51.41 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.377, allocations: 97.86 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.377, allocations: 25.7 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3771, allocations: 84.14 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3771, allocations: 7.891 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3772, allocations: 17.84 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3773, allocations: 314.8 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.3774, allocations: 11.98 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.3775, allocations: 19.97 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3776, allocations: 40.77 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3776, allocations: 4.062 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.3778, allocations: 69.59 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3778, allocations: 4 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3779, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3779, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.378, allocations: 8 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.378, allocations: 3.984 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.378, allocations: 8.031 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.378, allocations: 0 / 1.211 GB, free: 5.93 MB / 0.9669 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 7.846e-05/0.3781, allocations: 117.8 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.3782, allocations: 0 / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3784, allocations: 72.7 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3784, allocations: 0 / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3784, allocations: 0 / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3784, allocations: 8.031 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3786, allocations: 157.6 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3786, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3786, allocations: 15.98 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3787, allocations: 0 / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3787, allocations: 4 kB / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3787, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3787, allocations: 0 / 1.211 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.3789, allocations: 175.2 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.379, allocations: 77.11 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.379, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.3791, allocations: 11.98 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3791, allocations: 3.938 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3791, allocations: 4 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.3792, allocations: 79.27 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3792, allocations: 32 / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002052/0.3794, allocations: 11.94 kB / 1.212 GB, free: 5.109 MB / 0.9669 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.0001809/0.3796, allocations: 99.25 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3798, allocations: 39.95 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3798, allocations: 0 / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.3799, allocations: 19.92 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3801, allocations: 12.06 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.3804, allocations: 119.7 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3807, allocations: 0.6768 MB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.3807, allocations: 4 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.3808, allocations: 7.438 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3808, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.002479/0.3833, allocations: 464.3 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches