Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001214/0.001214, allocations: 187.7 kB / 487.4 MB, free: 5.043 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.318/1.318, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0008535/0.0008535, allocations: 99.77 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.953e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7873/1.015, allocations: 149.7 MB / 1.352 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/1.015, allocations: 70.27 kB / 1.352 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01099/1.026, allocations: 3.816 MB / 1.356 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.143e-06/1.026, allocations: 0 / 1.356 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.201e-06/1.026, allocations: 0 / 1.356 GB, free: 33.86 MB / 0.8386 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.0003703/1.027, allocations: 372.8 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.027, allocations: 20.03 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/1.027, allocations: 64.97 kB / 1.356 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.58e-05/1.027, allocations: 172 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/1.027, allocations: 0 / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.027, allocations: 0 / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.9e-05/1.027, allocations: 22.91 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/1.028, allocations: 51.19 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/1.028, allocations: 0 / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.028, allocations: 0 / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/1.028, allocations: 0.6094 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/1.028, allocations: 275.7 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/1.028, allocations: 38.14 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/1.028, allocations: 19.83 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/1.028, allocations: 0.5156 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/1.028, allocations: 34.56 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.028, allocations: 0 / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002444/1.028, allocations: 71.84 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.436e-05/1.028, allocations: 52.11 kB / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/1.028, allocations: 92.89 kB / 1.357 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/1.028, allocations: 25.7 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/1.029, allocations: 85.48 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/1.029, allocations: 12.02 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.029, allocations: 0 / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/1.029, allocations: 315.5 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/1.029, allocations: 19.61 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/1.029, allocations: 11.17 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.029, allocations: 25.92 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.029, allocations: 4.062 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001616/1.029, allocations: 75.88 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.029, allocations: 3.844 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.029, allocations: 0 / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/1.029, allocations: 0.7969 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.029, allocations: 30.52 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/1.029, allocations: 0 / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/1.029, allocations: 22.22 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/1.029, allocations: 4.516 kB / 1.358 GB, free: 32.24 MB / 0.8386 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.698e-05/1.029, allocations: 109.6 kB / 1.358 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/1.029, allocations: 0 / 1.358 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/1.029, allocations: 8.484 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.029, allocations: 3.812 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.03, allocations: 0.9062 kB / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.03, allocations: 0 / 1.358 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/1.03, allocations: 163.9 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.03, allocations: 3.938 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/1.03, allocations: 30.52 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.03, allocations: 0 / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/1.03, allocations: 1.078 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.03, allocations: 0 / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.03, allocations: 0 / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/1.03, allocations: 172.1 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/1.03, allocations: 81.02 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.03, allocations: 4.453 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.03, allocations: 22.09 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/1.03, allocations: 5.078 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/1.03, allocations: 0.6094 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.463e-05/1.03, allocations: 83.77 kB / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.03, allocations: 0 / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000219/1.031, allocations: 16.19 kB / 1.358 GB, free: 31.62 MB / 0.8386 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.0001256/1.031, allocations: 112.5 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.857e-05/1.031, allocations: 34.39 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.031, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/1.031, allocations: 16.28 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/1.031, allocations: 10.48 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/1.031, allocations: 97.91 kB / 1.359 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/1.032, allocations: 0.6849 MB / 1.359 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.714e-05/1.032, allocations: 8.531 kB / 1.359 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/1.032, allocations: 8.469 kB / 1.359 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.032, allocations: 0 / 1.359 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of Templates: time 0.002112/1.034, allocations: 0.6793 MB / 1.36 GB, free: 30.67 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches