Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [: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.981/1.981, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001037/0.001037, allocations: 177.2 kB / 487 MB, free: 5.344 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.357/1.357, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0009958/0.0009959, allocations: 105.4 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.716e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2744, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6948/0.9693, allocations: 150 MB / 1.352 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.9695, allocations: 79.19 kB / 1.352 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01638/0.9859, allocations: 5.195 MB / 1.357 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.986, allocations: 0.9375 kB / 1.357 GB, free: 15.51 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003974/0.9864, allocations: 394.4 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.9864, allocations: 8.969 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.9868, allocations: 70.34 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.9869, allocations: 174 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.9869, allocations: 2.594 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.9869, allocations: 7.938 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/0.987, allocations: 37.34 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.9872, allocations: 64 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9872, allocations: 5.828 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.9872, allocations: 1 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9872, allocations: 0.8438 kB / 1.358 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.9877, allocations: 312.1 kB / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.9878, allocations: 47.64 kB / 1.358 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.9878, allocations: 28.02 kB / 1.358 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.9878, allocations: 8.719 kB / 1.358 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.9878, allocations: 33.25 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.9879, allocations: 0.8125 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.01489/1.003, allocations: 2.181 MB / 1.36 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/1.003, allocations: 52.61 kB / 1.36 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/1.003, allocations: 93.66 kB / 1.36 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/1.003, allocations: 26.36 kB / 1.36 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/1.003, allocations: 91.59 kB / 1.36 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/1.003, allocations: 34.09 kB / 1.36 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/1.003, allocations: 4.656 kB / 1.36 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.998e-05/1.003, allocations: 318.4 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/1.003, allocations: 109.8 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/1.004, allocations: 111.4 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/1.004, allocations: 134.9 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.004, allocations: 3.906 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000775/1.005, allocations: 337.5 kB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.005, allocations: 4.562 kB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.005, allocations: 0 / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.005, allocations: 0 / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/1.006, allocations: 128.2 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/1.006, allocations: 4.656 kB / 1.361 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/1.006, allocations: 59.89 kB / 1.362 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.007, allocations: 29 kB / 1.362 GB, free: 13.08 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 (13): * Single equations (assignments): 13 * 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 0.0001156/1.007, allocations: 105.5 kB / 1.362 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/1.007, allocations: 12.64 kB / 1.362 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/1.007, allocations: 7.969 kB / 1.362 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.007, allocations: 4 kB / 1.362 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.007, allocations: 0 / 1.362 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.007, allocations: 0.5156 kB / 1.362 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/1.008, allocations: 0.8747 MB / 1.363 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.008, allocations: 4 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/1.009, allocations: 125.1 kB / 1.363 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.009, allocations: 0 / 1.363 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/1.009, allocations: 25.19 kB / 1.363 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/1.009, allocations: 8.516 kB / 1.363 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.009, allocations: 3.938 kB / 1.363 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001096/1.01, allocations: 0.5739 MB / 1.363 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.01, allocations: 114.6 kB / 1.363 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/1.011, allocations: 4.5 kB / 1.363 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/1.011, allocations: 64.7 kB / 1.363 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.011, allocations: 31.03 kB / 1.363 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/1.012, allocations: 25.44 kB / 1.363 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.084e-05/1.012, allocations: 79.84 kB / 1.364 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003927/1.012, allocations: 56.73 kB / 1.364 GB, free: 11.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002104/1.012, allocations: 121.2 kB / 1.364 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005671/1.013, allocations: 264.8 kB / 1.364 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.013, allocations: 4 kB / 1.364 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/1.013, allocations: 146.9 kB / 1.364 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/1.013, allocations: 6.438 kB / 1.364 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/1.018, allocations: 0.7978 MB / 1.365 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000669/1.018, allocations: 0.8204 MB / 1.366 GB, free: 25.69 MB / 0.823 GB Notification: Performance of SimCode: time 4.21e-07/1.018, allocations: 0 / 1.366 GB, free: 25.69 MB / 0.823 GB Notification: Performance of Templates: time 0.007033/1.026, allocations: 5.779 MB / 1.371 GB, free: 19.91 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches