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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00152/0.00152, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 73.89 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001813/0.3061, allocations: 0.7185 MB / 1.053 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.3069, allocations: 0.8079 MB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.3069, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.307, allocations: 11.86 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.307, allocations: 0 / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.3071, allocations: 11.98 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.3072, allocations: 27.86 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.3073, allocations: 12 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.3073, allocations: 7.984 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.724e-05/0.3074, allocations: 7.938 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3074, allocations: 4 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.3074, allocations: 0 / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.3074, allocations: 0 / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.3075, allocations: 15.92 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.201e-05/0.3075, allocations: 23.95 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3075, allocations: 0 / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3076, allocations: 4 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3076, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 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.0004164/0.308, allocations: 335.7 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.308, allocations: 12.03 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.3081, allocations: 4.844 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3082, allocations: 172.2 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3082, allocations: 4.375 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3082, allocations: 384 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3084, allocations: 54.23 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3084, allocations: 192 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3084, allocations: 3.938 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3084, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3086, allocations: 35.95 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.3089, allocations: 244.9 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.309, allocations: 46.53 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.3091, allocations: 20.91 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3091, allocations: 0 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3092, allocations: 34.56 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3092, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003409/0.3095, allocations: 85.58 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.3096, allocations: 55.41 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.3096, allocations: 97.84 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3096, allocations: 29.7 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.3097, allocations: 80.14 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.3097, allocations: 3.906 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3097, allocations: 13.84 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3099, allocations: 318.8 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.3099, allocations: 19.97 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.31, allocations: 15.98 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3102, allocations: 40.77 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3102, allocations: 4.062 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.3104, allocations: 73.44 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3104, allocations: 8 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3104, allocations: 0 / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.3105, allocations: 0 / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.3105, allocations: 7.984 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3106, allocations: 4 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.3106, allocations: 3.984 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3106, allocations: 8.031 kB / 1.055 GB, free: 5.172 MB / 0.8106 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 6.119e-05/0.3107, allocations: 113.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3107, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3109, allocations: 76.66 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.311, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.311, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.311, allocations: 32 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3111, allocations: 165.6 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3111, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.3112, allocations: 12 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3112, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3112, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3112, allocations: 3.984 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3112, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3115, allocations: 163.5 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.3115, allocations: 77.3 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.3115, allocations: 4 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.3116, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3117, allocations: 11.97 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3117, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.3117, allocations: 83.22 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3117, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000222/0.312, allocations: 11.97 kB / 1.056 GB, free: 4.359 MB / 0.8106 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.0001317/0.3121, allocations: 95.25 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.3123, allocations: 39.95 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3123, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.3124, allocations: 19.98 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3127, allocations: 8.922 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.313, allocations: 123.6 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3132, allocations: 0.677 MB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.3132, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.3132, allocations: 11.38 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3133, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.002011/0.3153, allocations: 377.7 kB / 1.057 GB, free: 2.957 MB / 0.8106 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