Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.265/2.265, allocations: 390.3 MB / 402.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009106, allocations: 95.94 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.975e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3625, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.53, allocations: 149.6 MB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/1.53, allocations: 66.97 kB / 1.365 GB, free: 4.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001864/1.532, allocations: 0.6787 MB / 1.366 GB, free: 3.801 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.874e-06/1.532, allocations: 8 kB / 1.366 GB, free: 3.793 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.532, allocations: 0 / 1.366 GB, free: 3.793 MB / 0.823 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.0003794/1.532, allocations: 325.7 kB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.532, allocations: 8.031 kB / 1.366 GB, free: 3.426 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/1.532, allocations: 0 / 1.366 GB, free: 3.426 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/1.533, allocations: 171.6 kB / 1.366 GB, free: 3.219 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.533, allocations: 3.984 kB / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/1.533, allocations: 4 kB / 1.366 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.533, allocations: 37.02 kB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/1.533, allocations: 0 / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.533, allocations: 3 kB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.533, allocations: 0 / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/1.533, allocations: 11.25 kB / 1.366 GB, free: 3.164 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/1.533, allocations: 271.1 kB / 1.366 GB, free: 2.855 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/1.533, allocations: 29.95 kB / 1.366 GB, free: 2.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/1.533, allocations: 12.73 kB / 1.366 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/1.533, allocations: 0 / 1.366 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.533, allocations: 30.56 kB / 1.366 GB, free: 2.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/1.533, allocations: 0 / 1.366 GB, free: 2.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/1.534, allocations: 49.56 kB / 1.366 GB, free: 2.719 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/1.534, allocations: 55.34 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/1.534, allocations: 100.7 kB / 1.367 GB, free: 2.551 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/1.534, allocations: 27.67 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/1.534, allocations: 80.14 kB / 1.367 GB, free: 2.438 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/1.534, allocations: 7.906 kB / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.534, allocations: 2.688 kB / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.534, allocations: 314.8 kB / 1.367 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/1.534, allocations: 11.91 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/1.534, allocations: 4 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/1.534, allocations: 0 / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.534, allocations: 3.938 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.823e-05/1.534, allocations: 45.02 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.534, allocations: 4 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.534, allocations: 0.875 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.534, allocations: 4 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/1.534, allocations: 16.08 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.534, allocations: 3.938 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/1.534, allocations: 7.984 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/1.534, allocations: 3.953 kB / 1.367 GB, free: 2.016 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/1.534, allocations: 105 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/1.535, allocations: 0.875 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/1.535, allocations: 48.06 kB / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/1.535, allocations: 8.031 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.535, allocations: 4 kB / 1.367 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.535, allocations: 0 / 1.367 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/1.535, allocations: 165.3 kB / 1.367 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.535, allocations: 0 / 1.367 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/1.535, allocations: 8 kB / 1.367 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.535, allocations: 3.938 kB / 1.367 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/1.535, allocations: 0 / 1.367 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.535, allocations: 3.984 kB / 1.367 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.535, allocations: 11.94 kB / 1.367 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/1.535, allocations: 130.8 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/1.535, allocations: 84.67 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/1.535, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/1.535, allocations: 7.984 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/1.535, allocations: 4 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/1.535, allocations: 8.016 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.183e-05/1.535, allocations: 79.28 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.535, allocations: 0 / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001911/1.536, allocations: 7.75 kB / 1.368 GB, free: 1.277 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/1.536, allocations: 95.25 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.414e-05/1.536, allocations: 15.25 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.536, allocations: 0 / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/1.536, allocations: 8.062 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/1.536, allocations: 11.45 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/1.536, allocations: 69.48 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.536, allocations: 0.677 MB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.78e-05/1.537, allocations: 0 / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/1.537, allocations: 7.438 kB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of SimCode: time 3.5e-07/1.537, allocations: 3.938 kB / 1.369 GB, free: 352 kB / 0.823 GB Notification: Performance of Templates: time 0.002272/1.539, allocations: 367.4 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches