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.001064/0.001064, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.0009865/0.0009865, allocations: 187 kB / 17.34 MB, free: 5.762 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.434/2.434, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 68.09 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6824, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001783/0.6842, allocations: 0.6689 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.6851, allocations: 0.804 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.6852, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.6852, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.6853, allocations: 3.938 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.6854, allocations: 11.98 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.6855, allocations: 23.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.6856, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.6856, allocations: 15.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.6857, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.6857, allocations: 4 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.6857, allocations: 0 / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.6857, allocations: 11.98 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.6858, allocations: 7.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.096e-05/0.6858, allocations: 19.91 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6858, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6858, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.6859, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 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.0004003/0.6863, allocations: 339.3 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.6863, allocations: 8.031 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.6863, allocations: 8.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.6865, allocations: 168.3 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.6865, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.6865, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.6867, allocations: 50.23 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6867, allocations: 4.125 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.6867, allocations: 7.922 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6867, allocations: 4 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.6869, allocations: 31.97 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.6872, allocations: 240.9 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.6873, allocations: 50.47 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.6874, allocations: 24.91 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.6874, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6875, allocations: 34.56 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.6875, allocations: 3.938 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.6878, allocations: 89.48 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.6878, allocations: 51.41 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.6879, allocations: 97.84 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.6879, allocations: 33.83 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.688, allocations: 84.14 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.688, allocations: 7.891 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.688, allocations: 13.72 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6882, allocations: 318.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.6882, allocations: 11.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.6883, allocations: 15.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.6885, allocations: 40.89 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6885, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.6887, allocations: 73.53 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6887, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6887, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6887, allocations: 32 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.6888, allocations: 15.98 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6888, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.6889, allocations: 7.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.6889, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 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.221e-05/0.689, allocations: 119.3 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.689, allocations: 0 / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.6892, allocations: 68.78 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.6892, allocations: 7.938 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6892, allocations: 0 / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6892, allocations: 0 / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.6894, allocations: 165.6 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6894, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.6895, allocations: 4 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6895, allocations: 7.984 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.6895, allocations: 4 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6895, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6895, allocations: 7.969 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.6897, allocations: 163.4 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.6898, allocations: 78.94 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.6898, allocations: 3.938 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.6899, allocations: 7.984 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.6899, allocations: 8.031 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.6899, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.69, allocations: 79.45 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.69, allocations: 7.938 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002056/0.6902, allocations: 0 / 1.212 GB, free: 9.191 MB / 0.9356 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.0001122/0.6903, allocations: 99.25 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.6905, allocations: 39.95 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6905, allocations: 0 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.6906, allocations: 19.98 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.6909, allocations: 11.92 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.6911, allocations: 139.7 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.6914, allocations: 0.6729 MB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.6914, allocations: 15.56 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.6914, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of Templates: time 0.001735/0.6932, allocations: 0.5315 MB / 1.214 GB, free: 7.598 MB / 0.9356 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/jenkins1/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