Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001147/0.001147, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.59/1.59, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.001054/0.001054, allocations: 94.78 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.000338, allocations: 10.97 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.467, allocations: 148.8 MB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4673, allocations: 67.95 kB / 1.368 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001801/0.4691, allocations: 0.6693 MB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4691, allocations: 0 / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.4691, allocations: 0 / 1.369 GB, free: 12.47 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.0004046/0.4695, allocations: 343.3 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4696, allocations: 12.03 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.4696, allocations: 3.906 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.4698, allocations: 167 kB / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4698, allocations: 0 / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.4698, allocations: 4 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.47, allocations: 64.33 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.47, allocations: 0 / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.47, allocations: 7.938 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.4701, allocations: 0 / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.4702, allocations: 39.97 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.4707, allocations: 272.9 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.4708, allocations: 38.56 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4709, allocations: 8 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4709, allocations: 34.56 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4709, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.4713, allocations: 97.73 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.4713, allocations: 51.41 kB / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.4714, allocations: 96.98 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4714, allocations: 29.7 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.4715, allocations: 80.14 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.4715, allocations: 3.906 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.4715, allocations: 0 / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4717, allocations: 318.8 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.4718, allocations: 31.94 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.4718, allocations: 19.98 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.4719, allocations: 20.05 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4719, allocations: 4 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.4721, allocations: 77.56 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4721, allocations: 4 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4722, allocations: 4 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4722, allocations: 3.938 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4723, allocations: 20.02 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4723, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.4724, allocations: 4 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4724, allocations: 4 kB / 1.371 GB, free: 10.43 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 8.632e-05/0.4725, allocations: 113.8 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.4725, allocations: 0 / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.4728, allocations: 88.72 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4728, allocations: 0 / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4728, allocations: 0 / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4728, allocations: 4 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.473, allocations: 161.6 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.473, allocations: 8.016 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.4731, allocations: 8 kB / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4731, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.4731, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4731, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4731, allocations: 0 / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.4734, allocations: 183.4 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.4734, allocations: 85.03 kB / 1.371 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4735, allocations: 0 / 1.371 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.4735, allocations: 8 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4736, allocations: 3.984 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.4736, allocations: 4.031 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.4737, allocations: 83.45 kB / 1.371 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4737, allocations: 0 / 1.371 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002034/0.4739, allocations: 7.906 kB / 1.371 GB, free: 9.59 MB / 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.0001656/0.474, allocations: 103 kB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4743, allocations: 51.95 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4743, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.4744, allocations: 23.92 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.4746, allocations: 11.95 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.475, allocations: 108.8 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4753, allocations: 0.6809 MB / 1.372 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.4753, allocations: 0 / 1.372 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.4754, allocations: 7.438 kB / 1.372 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/0.4754, allocations: 0 / 1.372 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of Templates: time 0.002296/0.4777, allocations: 368.7 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches