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.489/2.489, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001338/0.001338, allocations: 186.8 kB / 0.4902 GB, free: 2.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.00108/0.00108, allocations: 100.3 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 15.14 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.5191, allocations: 149.6 MB / 1.375 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5194, allocations: 75.94 kB / 1.375 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001968/0.5214, allocations: 0.6648 MB / 1.376 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5214, allocations: 4 kB / 1.376 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5214, allocations: 0 / 1.376 GB, free: 3.203 MB / 0.8698 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.0004321/0.5219, allocations: 332.3 kB / 1.376 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5219, allocations: 8.828 kB / 1.376 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.522, allocations: 11.84 kB / 1.376 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5221, allocations: 167 kB / 1.377 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5221, allocations: 3.938 kB / 1.377 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5222, allocations: 4 kB / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5224, allocations: 54.53 kB / 1.377 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.5224, allocations: 4 kB / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5224, allocations: 0 / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5224, allocations: 3.984 kB / 1.377 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.5226, allocations: 47.95 kB / 1.377 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.523, allocations: 264.9 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.5232, allocations: 46.5 kB / 1.377 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.5232, allocations: 3.984 kB / 1.377 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.5232, allocations: 34.62 kB / 1.377 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.5232, allocations: 0 / 1.377 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/0.5236, allocations: 97.64 kB / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5237, allocations: 51.41 kB / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.5238, allocations: 96.94 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.5238, allocations: 25.7 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.5239, allocations: 84.27 kB / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.5239, allocations: 7.906 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.5239, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.524, allocations: 322.8 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.5241, allocations: 19.98 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.5242, allocations: 23.98 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.03e-05/0.5243, allocations: 19.98 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5243, allocations: 0 / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.5245, allocations: 77.72 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5245, allocations: 4 kB / 1.378 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5245, allocations: 0 / 1.378 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5245, allocations: 3.938 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.5246, allocations: 11.98 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5247, allocations: 4 kB / 1.378 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.5247, allocations: 12.02 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5247, allocations: 3.938 kB / 1.378 GB, free: 1.18 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.5248, allocations: 117.8 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.5248, allocations: 3.906 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.5251, allocations: 88.72 kB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5251, allocations: 0 / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5251, allocations: 0 / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5251, allocations: 0 / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.5253, allocations: 161.6 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5253, allocations: 0 / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.5254, allocations: 12 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5254, allocations: 3.984 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5254, allocations: 0 / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5254, allocations: 4.031 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5254, allocations: 0 / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5257, allocations: 175.4 kB / 1.378 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.5257, allocations: 81.11 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5257, allocations: 4 kB / 1.378 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.5258, allocations: 4 kB / 1.378 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.5259, allocations: 7.984 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.5259, allocations: 0 / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.5259, allocations: 79.28 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5259, allocations: 0 / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001933/0.5261, allocations: 4 kB / 1.379 GB, free: 360 kB / 0.8698 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 (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.0001453/0.5263, allocations: 102.5 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5265, allocations: 55.89 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5265, allocations: 0 / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.5266, allocations: 24.05 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.5268, allocations: 3.953 kB / 1.379 GB, free: 168 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.5271, allocations: 112.6 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.5274, allocations: 0.6809 MB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.5274, allocations: 8.062 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.5275, allocations: 7.438 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5275, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.002144/0.5296, allocations: 357.5 kB / 1.38 GB, free: 14.95 MB / 0.8855 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