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.001827/0.001827, allocations: 113 kB / 16.41 MB, free: 6.453 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.001992/0.001992, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.507/1.507, allocations: 222.9 MB / 241 MB, free: 15.09 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.707/2.707, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003164/0.003164, allocations: 67.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8851, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002023/0.8872, allocations: 0.6695 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.8882, allocations: 0.8117 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.8883, allocations: 0 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.8883, allocations: 3.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.8884, allocations: 3.938 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.8885, allocations: 15.97 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.8886, allocations: 19.94 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.8888, allocations: 15.98 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.8889, allocations: 11.94 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.8889, allocations: 7.984 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.8889, allocations: 4 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.8889, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.889, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.889, allocations: 11.94 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.109e-05/0.8891, allocations: 23.89 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8891, allocations: 3.984 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8891, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8891, allocations: 4 kB / 1.169 GB, free: 2.199 MB / 0.8887 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.0005386/0.8897, allocations: 339 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8897, allocations: 8.922 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.8898, allocations: 0.9375 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.8899, allocations: 169.3 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.89, allocations: 384 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.89, allocations: 384 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.8902, allocations: 54.17 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8902, allocations: 4.188 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8902, allocations: 3.938 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8902, allocations: 0 / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.8904, allocations: 35.95 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.8908, allocations: 248.9 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.8909, allocations: 46.44 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.891, allocations: 31.33 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.8911, allocations: 0 / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.8911, allocations: 30.56 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8911, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003703/0.8915, allocations: 85.64 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.8915, allocations: 55.34 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.8916, allocations: 97.86 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.8917, allocations: 25.7 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.8917, allocations: 88.08 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.8918, allocations: 7.938 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.8918, allocations: 17.66 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.892, allocations: 319 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.8921, allocations: 15.98 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.8921, allocations: 11.98 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.8923, allocations: 40.81 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8923, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.8925, allocations: 77.61 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8925, allocations: 6.344 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.8925, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8925, allocations: 192 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.8926, allocations: 8 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8926, allocations: 7.922 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.8927, allocations: 8 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.8927, allocations: 0 / 1.171 GB, free: 180 kB / 0.8887 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.59e-05/0.8928, allocations: 113.8 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.8928, allocations: 7.984 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.8931, allocations: 72.77 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8931, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8931, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8931, allocations: 4 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.8933, allocations: 157.6 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8933, allocations: 4.031 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.8934, allocations: 7.984 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8934, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.8934, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.8934, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8934, allocations: 3.938 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.8937, allocations: 163.5 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.8938, allocations: 85.06 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.8938, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.8939, allocations: 7.984 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.8939, allocations: 3.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.8939, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.894, allocations: 83.27 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.894, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002128/0.8942, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 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.0001524/0.8944, allocations: 107.3 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.8946, allocations: 39.89 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8946, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.8947, allocations: 15.98 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.895, allocations: 18.55 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.8953, allocations: 106.1 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.8957, allocations: 0.6768 MB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.8957, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.8957, allocations: 7.438 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8957, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.002983/0.8987, allocations: 446.2 kB / 1.173 GB, free: 13.89 MB / 0.9044 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 -s cvode -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