Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_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.001664/0.001664, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001944/0.001943, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003767/1.018, allocations: 1.437 MB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00205/1.02, allocations: 0.7937 MB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/1.02, allocations: 0 / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.221e-05/1.02, allocations: 0 / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/1.02, allocations: 11.94 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/1.021, allocations: 133.2 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/1.021, allocations: 35.86 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/1.021, allocations: 7.984 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/1.021, allocations: 12 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/1.022, allocations: 23.91 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/1.022, allocations: 4 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/1.022, allocations: 319.3 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/1.022, allocations: 8 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/1.022, allocations: 11.92 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/1.023, allocations: 191.6 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/1.023, allocations: 4 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.665e-06/1.023, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.023, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 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.000828/1.024, allocations: 379.2 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.024, allocations: 8.922 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/1.024, allocations: 64.86 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.024, allocations: 168.3 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/1.025, allocations: 4.375 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.025, allocations: 8.312 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/1.025, allocations: 85.94 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.025, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/1.025, allocations: 3.938 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.025, allocations: 0 / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/1.025, allocations: 91.91 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/1.026, allocations: 302.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/1.026, allocations: 102.4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/1.027, allocations: 48.88 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/1.027, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.027, allocations: 34.56 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.027, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0007272/1.027, allocations: 165.5 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.028, allocations: 55.41 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.028, allocations: 105.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/1.028, allocations: 29.83 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/1.028, allocations: 80.14 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/1.028, allocations: 11.91 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/1.028, allocations: 17.7 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.028, allocations: 310.8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.028, allocations: 47.95 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/1.028, allocations: 43.95 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/1.029, allocations: 92.77 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.029, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004431/1.029, allocations: 121.6 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.029, allocations: 10.19 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.029, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.029, allocations: 3.938 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/1.029, allocations: 23.97 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.029, allocations: 0 / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.03, allocations: 19.97 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.03, allocations: 4 kB / 1.173 GB, free: 14.23 MB / 0.9044 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 8.685e-05/1.03, allocations: 113.8 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/1.03, allocations: 3.906 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/1.03, allocations: 7.125 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.03, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.03, allocations: 3.938 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.03, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/1.03, allocations: 181.8 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.03, allocations: 8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.03, allocations: 19.97 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.03, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/1.03, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.03, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.03, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/1.031, allocations: 231.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/1.031, allocations: 81.14 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.031, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/1.031, allocations: 23.97 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/1.031, allocations: 3.938 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.031, allocations: 4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.225e-05/1.031, allocations: 83.27 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/1.031, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002474/1.031, allocations: 16 kB / 1.173 GB, free: 13.37 MB / 0.9044 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.0001701/1.031, allocations: 111.2 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000449/1.032, allocations: 91.91 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.032, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/1.032, allocations: 55.95 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/1.032, allocations: 7.922 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/1.033, allocations: 187.1 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/1.033, allocations: 0.6729 MB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/1.033, allocations: 15.42 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/1.033, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.002579/1.036, allocations: 0.8919 MB / 1.175 GB, free: 11.28 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches