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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 111.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 189.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9653/0.9668, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002936/0.9698, allocations: 1.442 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.9712, allocations: 0.7952 MB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.9712, allocations: 0 / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.9713, allocations: 5.344 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.9713, allocations: 4.641 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.9719, allocations: 129.2 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.972, allocations: 35.48 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.9721, allocations: 8.391 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.9721, allocations: 17.94 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.9722, allocations: 21.23 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.9722, allocations: 3.281 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.9729, allocations: 319.5 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.9729, allocations: 7.703 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.9729, allocations: 13.22 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.9733, allocations: 193.3 kB / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9733, allocations: 0 / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9734, allocations: 1.688 kB / 1.092 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9734, allocations: 4 kB / 1.092 GB, free: 3.703 MB / 0.8575 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.0005833/0.974, allocations: 372.2 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.974, allocations: 13.53 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.9746, allocations: 66.22 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.9747, allocations: 164 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.9747, allocations: 1.031 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.9747, allocations: 1.812 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.9751, allocations: 97.64 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9751, allocations: 1.031 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.9751, allocations: 0.5625 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.9751, allocations: 0.75 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.9756, allocations: 93.05 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.9762, allocations: 304.2 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.9767, allocations: 93.2 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.9769, allocations: 55.81 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.977, allocations: 4.844 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.977, allocations: 32.2 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.977, allocations: 0 / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0008608/0.9779, allocations: 164.6 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.9779, allocations: 60.56 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.978, allocations: 98.48 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.9781, allocations: 30.31 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.9781, allocations: 82.06 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.9781, allocations: 4.719 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.9782, allocations: 18.98 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.9783, allocations: 313.2 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.9785, allocations: 50.2 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.9787, allocations: 42.73 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.9792, allocations: 100.9 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9792, allocations: 0 / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005038/0.9797, allocations: 119.9 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9797, allocations: 5.531 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9797, allocations: 0.6562 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9798, allocations: 1.219 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.9799, allocations: 19.95 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.98, allocations: 1.234 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.9801, allocations: 23.75 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.9801, allocations: 2.625 kB / 1.094 GB, free: 1.895 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.9802, allocations: 115.3 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.9802, allocations: 6.359 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.9803, allocations: 4.734 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.9803, allocations: 0.7188 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9803, allocations: 0.7031 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9803, allocations: 4.906 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.9805, allocations: 183.6 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9805, allocations: 1.438 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.9806, allocations: 20.59 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9806, allocations: 0.7188 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.9807, allocations: 1.578 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9807, allocations: 0 / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9807, allocations: 0.8438 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.9812, allocations: 226.2 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.9813, allocations: 80.2 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.9813, allocations: 8.844 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.9815, allocations: 20.09 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.9815, allocations: 3.688 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.9816, allocations: 1.984 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.9816, allocations: 87.97 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9816, allocations: 0.6562 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003005/0.9819, allocations: 15.17 kB / 1.095 GB, free: 1.203 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.9821, allocations: 104.3 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.9826, allocations: 95.55 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9827, allocations: 0 / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.9829, allocations: 50.33 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.9832, allocations: 11.45 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.9839, allocations: 190.5 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.984, allocations: 0.6756 MB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.9841, allocations: 11.48 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.9841, allocations: 0.8125 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of Templates: time 0.003583/0.9877, allocations: 0.8944 MB / 1.097 GB, free: 164 kB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches