Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.574/2.574, allocations: 390.5 MB / 398 MB, free: 10.98 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.001539/0.001538, allocations: 184.8 kB / 491.2 MB, free: 1.594 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.683/1.683, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009157/0.0009156, allocations: 94.7 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.825e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3106, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.366, allocations: 150.1 MB / 1.359 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.366, allocations: 77.31 kB / 1.359 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01219/1.378, allocations: 4.165 MB / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.482e-06/1.379, allocations: 0 / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.379, allocations: 3.875 kB / 1.363 GB, free: 32.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004131/1.379, allocations: 364.8 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.379, allocations: 9.656 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/1.379, allocations: 64.44 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/1.379, allocations: 170.7 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.379, allocations: 1.5 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/1.38, allocations: 3.688 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.614e-05/1.38, allocations: 21.67 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/1.38, allocations: 52.97 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.38, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.38, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.38, allocations: 3.984 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/1.38, allocations: 148 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/1.38, allocations: 54.75 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/1.38, allocations: 16.61 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.38, allocations: 7.938 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.38, allocations: 36.56 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/1.38, allocations: 0 / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002468/1.383, allocations: 472.2 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/1.383, allocations: 51.41 kB / 1.364 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/1.383, allocations: 103.2 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/1.383, allocations: 25.7 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/1.383, allocations: 83.33 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/1.383, allocations: 29.95 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/1.383, allocations: 0 / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/1.383, allocations: 319.9 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/1.383, allocations: 42.92 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/1.383, allocations: 44.92 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.383, allocations: 50.39 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.383, allocations: 0 / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000278/1.384, allocations: 142.1 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.384, allocations: 7.688 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.384, allocations: 0 / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.384, allocations: 1.406 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/1.384, allocations: 66.53 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/1.384, allocations: 5.141 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/1.384, allocations: 42.14 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.384, allocations: 8.812 kB / 1.365 GB, free: 31.35 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 (9): * Single equations (assignments): 9 * 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.656e-05/1.384, allocations: 117.1 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/1.384, allocations: 3.906 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/1.384, allocations: 13.91 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.384, allocations: 0 / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.384, allocations: 7.938 kB / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.384, allocations: 0 / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/1.386, allocations: 0.5149 MB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.386, allocations: 0 / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/1.386, allocations: 69.41 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.386, allocations: 0 / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.386, allocations: 10.77 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.386, allocations: 0 / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.386, allocations: 4 kB / 1.366 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/1.386, allocations: 260.2 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/1.386, allocations: 84.2 kB / 1.366 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/1.386, allocations: 7.828 kB / 1.366 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/1.387, allocations: 45.56 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/1.387, allocations: 16.67 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/1.387, allocations: 6.984 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.805e-05/1.387, allocations: 88.78 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.387, allocations: 0 / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003013/1.387, allocations: 40.25 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002297/1.387, allocations: 121.2 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002045/1.388, allocations: 86.84 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.388, allocations: 4 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/1.388, allocations: 45.48 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/1.388, allocations: 4.844 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/1.389, allocations: 360.6 kB / 1.367 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/1.389, allocations: 0.6914 MB / 1.368 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001478/1.39, allocations: 25.91 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/1.39, allocations: 26.27 kB / 1.368 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.39, allocations: 4 kB / 1.368 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of Templates: time 0.004091/1.394, allocations: 1.692 MB / 1.37 GB, free: 29.46 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches