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.007422/0.007422, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001636/0.001636, allocations: 194.1 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.688/2.688, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 75.88 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3847, allocations: 151.6 MB / 1.167 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001958/0.3867, allocations: 0.6711 MB / 1.167 GB, free: 6.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.3877, allocations: 0.8082 MB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.3877, allocations: 0 / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3877, allocations: 3.938 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/0.3878, allocations: 11.92 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.388, allocations: 11.92 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.3881, allocations: 23.98 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3882, allocations: 8 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.761e-05/0.3882, allocations: 7.938 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.3883, allocations: 15.92 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3883, allocations: 0 / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.3883, allocations: 4 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3884, allocations: 0 / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.3884, allocations: 19.91 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.3885, allocations: 19.91 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3885, allocations: 4 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3885, allocations: 0 / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3885, allocations: 0 / 1.168 GB, free: 5.312 MB / 0.92 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.0004615/0.389, allocations: 339.4 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.389, allocations: 12.03 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.3891, allocations: 0.9375 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3892, allocations: 164.3 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3892, allocations: 4.375 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3892, allocations: 4.375 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3894, allocations: 54.23 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3894, allocations: 192 / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3895, allocations: 3.938 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.3895, allocations: 3.938 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3896, allocations: 39.89 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.39, allocations: 237 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3901, allocations: 50.48 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.3902, allocations: 16.91 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3902, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3903, allocations: 34.5 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3903, allocations: 4 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003445/0.3906, allocations: 81.64 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3907, allocations: 51.41 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.3908, allocations: 105.8 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3908, allocations: 25.7 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.3909, allocations: 80.14 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3909, allocations: 7.953 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3909, allocations: 17.84 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3911, allocations: 310.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.3911, allocations: 19.97 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.3912, allocations: 15.98 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3914, allocations: 36.77 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3914, allocations: 8.062 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002084/0.3916, allocations: 77.48 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3916, allocations: 8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3916, allocations: 192 / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3917, allocations: 0 / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.3918, allocations: 7.984 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3918, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.3918, allocations: 12.02 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3918, allocations: 4 kB / 1.17 GB, free: 3.285 MB / 0.92 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.111e-05/0.3919, allocations: 113.8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.3919, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.3922, allocations: 76.72 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3922, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3922, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3922, allocations: 4.031 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.3924, allocations: 157.6 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3924, allocations: 3.984 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.3925, allocations: 8 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3925, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3925, allocations: 4 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3925, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3925, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.3927, allocations: 171.4 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3928, allocations: 92.92 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3928, allocations: 4 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.3929, allocations: 0 / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3929, allocations: 7.984 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.3929, allocations: 0 / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.393, allocations: 83.28 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.393, allocations: 4.031 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002263/0.3932, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 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.0001403/0.3933, allocations: 95.25 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.3936, allocations: 39.95 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3936, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.781e-05/0.3937, allocations: 27.98 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.394, allocations: 3.938 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.3943, allocations: 110 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3946, allocations: 0.6806 MB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.3946, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.3946, allocations: 7.438 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.3946, allocations: 0 / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of Templates: time 0.00241/0.3971, allocations: 450.6 kB / 1.172 GB, free: 1.008 MB / 0.92 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/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