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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.755/1.755, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009443/0.0009443, allocations: 188.9 kB / 487 MB, free: 5.379 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.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.000865, allocations: 96.62 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.556e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.183, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5161/0.6991, allocations: 148 MB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.6993, allocations: 67.09 kB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001528/0.7009, allocations: 377 kB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.7009, allocations: 4.969 kB / 1.35 GB, free: 15.84 MB / 0.8073 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.0002786/0.7012, allocations: 329.1 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7012, allocations: 8.875 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.7012, allocations: 4.781 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.999e-05/0.7013, allocations: 166.5 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.7014, allocations: 0 / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.7014, allocations: 1 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.826e-05/0.7015, allocations: 10.91 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.929e-05/0.7015, allocations: 40.42 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.7015, allocations: 0 / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.7015, allocations: 3.906 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7016, allocations: 0 / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.7019, allocations: 247.8 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.609e-05/0.7019, allocations: 27.78 kB / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.702, allocations: 8.359 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.702, allocations: 8.75 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.702, allocations: 39.75 kB / 1.351 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.702, allocations: 0 / 1.351 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001322/0.7022, allocations: 39.41 kB / 1.351 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.646e-05/0.7022, allocations: 52.53 kB / 1.351 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.7022, allocations: 94.22 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.7022, allocations: 25.7 kB / 1.351 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.7023, allocations: 85.17 kB / 1.351 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.7023, allocations: 5.125 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7023, allocations: 0.75 kB / 1.351 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.239e-05/0.7023, allocations: 317.3 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.7024, allocations: 2.156 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.7024, allocations: 6.25 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.586e-05/0.7024, allocations: 3.891 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7024, allocations: 1.156 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.29e-05/0.7025, allocations: 57.14 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.7025, allocations: 4.781 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7025, allocations: 5 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7025, allocations: 0.9844 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.7026, allocations: 12.2 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.7026, allocations: 1.625 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.7027, allocations: 13.44 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.7027, allocations: 0 / 1.352 GB, free: 14.27 MB / 0.8073 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 3.902e-05/0.7027, allocations: 102.1 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.7028, allocations: 11.47 kB / 1.352 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.7029, allocations: 43.23 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.7029, allocations: 2.656 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7029, allocations: 3.984 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7029, allocations: 32 / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.677e-05/0.703, allocations: 143.1 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.703, allocations: 0 / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.7031, allocations: 15.92 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7031, allocations: 1.359 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.7031, allocations: 3.188 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7031, allocations: 1.625 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7031, allocations: 0 / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.241e-05/0.7032, allocations: 139.5 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.7032, allocations: 78.2 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.7032, allocations: 2.547 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.7033, allocations: 7.844 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.7033, allocations: 2.578 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.7034, allocations: 5.469 kB / 1.352 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.852e-05/0.7034, allocations: 82.98 kB / 1.352 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001914/0.7036, allocations: 7.031 kB / 1.352 GB, free: 13.64 MB / 0.8073 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.0001125/0.7037, allocations: 100.3 kB / 1.352 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.7038, allocations: 15.19 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.7038, allocations: 0 / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.7038, allocations: 8.344 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.704, allocations: 11.22 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.7041, allocations: 58.16 kB / 1.353 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.7044, allocations: 0.6882 MB / 1.353 GB, free: 28.78 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.7044, allocations: 0 / 1.353 GB, free: 28.78 MB / 0.823 GB Notification: Performance of Templates: time 0.001913/0.7063, allocations: 415.4 kB / 1.354 GB, free: 28.73 MB / 0.823 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