Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_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.001478/0.001478, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001706/0.001706, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 469.4 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 60.52 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3531, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003011/0.3562, allocations: 1.438 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3575, allocations: 0.7983 MB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.3576, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3576, allocations: 7.922 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.3577, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.3583, allocations: 132.1 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.3584, allocations: 31.92 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.3585, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.3585, allocations: 19.92 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.3586, allocations: 15.98 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3586, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.3591, allocations: 323.3 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.3591, allocations: 7.922 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3591, allocations: 8 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.3595, allocations: 203.6 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3595, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3595, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3595, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 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.0005726/0.3601, allocations: 379.6 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3601, allocations: 16.56 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.3606, allocations: 64.84 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3608, allocations: 164.4 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3608, allocations: 384 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3608, allocations: 4.375 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3611, allocations: 85.94 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3611, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3612, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3612, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.3616, allocations: 91.89 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3621, allocations: 308.6 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.3625, allocations: 90.5 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3627, allocations: 56.86 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3627, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3628, allocations: 30.56 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3628, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0007357/0.3635, allocations: 173.5 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3636, allocations: 51.41 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.3636, allocations: 101.9 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3637, allocations: 25.7 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.3637, allocations: 84.14 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3637, allocations: 7.891 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3638, allocations: 13.72 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3639, allocations: 318.9 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.3641, allocations: 44.2 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.3643, allocations: 47.94 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.3647, allocations: 96.77 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3647, allocations: 4 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004591/0.3652, allocations: 121.5 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3652, allocations: 8 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3652, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3653, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3654, allocations: 27.94 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3654, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3656, allocations: 19.97 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3656, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8419 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.429e-05/0.3657, allocations: 114.3 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.3657, allocations: 3.906 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.3657, allocations: 15.11 kB / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3657, allocations: 0 / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3658, allocations: 0 / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3658, allocations: 4 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.3659, allocations: 169.6 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3659, allocations: 0 / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3661, allocations: 19.97 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3661, allocations: 0 / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3661, allocations: 7.969 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3661, allocations: 8 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3661, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3666, allocations: 219.3 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3667, allocations: 81.09 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3667, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3669, allocations: 15.98 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3669, allocations: 8.016 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3669, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.367, allocations: 83.28 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.367, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002464/0.3672, allocations: 12 kB / 1.07 GB, free: 8.547 MB / 0.8419 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.0001721/0.3674, allocations: 115.2 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.3679, allocations: 99.84 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3679, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.3681, allocations: 52 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3684, allocations: 12.12 kB / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.369, allocations: 183.1 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3693, allocations: 0.6768 MB / 1.071 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.3693, allocations: 19.44 kB / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3693, allocations: 3.938 kB / 1.071 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of Templates: time 0.002378/0.3717, allocations: 0.892 MB / 1.072 GB, free: 6.445 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches