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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005761/0.005761, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00125/0.00125, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.6749, allocations: 140.4 MB / 0.9496 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002371/0.6773, allocations: 1.495 MB / 0.951 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.6784, allocations: 0.812 MB / 0.9518 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.6785, allocations: 0 / 0.9518 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.6785, allocations: 4 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.6786, allocations: 1.375 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.6789, allocations: 97.94 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.679, allocations: 31.05 kB / 0.952 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.6791, allocations: 6.75 kB / 0.952 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.6791, allocations: 14.86 kB / 0.952 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.6792, allocations: 22.78 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.6792, allocations: 1.375 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.6796, allocations: 314.7 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.6796, allocations: 1.344 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.6796, allocations: 14.64 kB / 0.9523 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.6798, allocations: 142 kB / 0.9525 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6798, allocations: 3.938 kB / 0.9525 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6798, allocations: 0 / 0.9525 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.6799, allocations: 4 kB / 0.9525 GB, free: 7.184 MB / 0.7169 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.0004455/0.6803, allocations: 373.7 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6803, allocations: 14.09 kB / 0.9528 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.6808, allocations: 70.91 kB / 0.9529 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.603e-05/0.6809, allocations: 162.6 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.681, allocations: 1.594 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.681, allocations: 5.719 kB / 0.9531 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.6814, allocations: 92.92 kB / 0.9532 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.6814, allocations: 5.156 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6814, allocations: 0 / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6814, allocations: 1.312 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.6818, allocations: 95.39 kB / 0.9533 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.6823, allocations: 296.1 kB / 0.9535 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.6827, allocations: 96.92 kB / 0.9536 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.6829, allocations: 51.03 kB / 0.9537 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.6829, allocations: 4 kB / 0.9537 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.6829, allocations: 32.25 kB / 0.9537 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.683, allocations: 0 / 0.9537 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0007318/0.6837, allocations: 172.9 kB / 0.9539 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.6837, allocations: 55.53 kB / 0.9539 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.6838, allocations: 100.1 kB / 0.954 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.6838, allocations: 30.94 kB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.6839, allocations: 81.3 kB / 0.9541 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.6839, allocations: 5.094 kB / 0.9541 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.6839, allocations: 16.53 kB / 0.9541 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.684, allocations: 316.3 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.6842, allocations: 48.64 kB / 0.9545 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.6844, allocations: 47.14 kB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.6848, allocations: 96.42 kB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6848, allocations: 0 / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004243/0.6852, allocations: 124.5 kB / 0.9548 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6852, allocations: 4.969 kB / 0.9548 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6853, allocations: 1.062 kB / 0.9548 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6853, allocations: 0 / 0.9548 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.6855, allocations: 21.53 kB / 0.9548 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6855, allocations: 0 / 0.9548 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.6856, allocations: 19.02 kB / 0.9548 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.6856, allocations: 0.9688 kB / 0.9548 GB, free: 5.094 MB / 0.7169 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 5.706e-05/0.6857, allocations: 120.1 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.6857, allocations: 0.9688 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.6858, allocations: 4.188 kB / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6858, allocations: 0 / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6858, allocations: 1.094 kB / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6858, allocations: 4 kB / 0.9549 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.6859, allocations: 177.4 kB / 0.9551 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6859, allocations: 1.062 kB / 0.9551 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.6861, allocations: 21.06 kB / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6861, allocations: 0.8125 kB / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6861, allocations: 1.375 kB / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6861, allocations: 0 / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6861, allocations: 8.938 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.6866, allocations: 230.7 kB / 0.9553 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.6866, allocations: 78.45 kB / 0.9554 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.6866, allocations: 0 / 0.9554 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6868, allocations: 18.56 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.6868, allocations: 1.312 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.6868, allocations: 2.125 kB / 0.9554 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.6868, allocations: 91.58 kB / 0.9555 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6869, allocations: 0 / 0.9555 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002521/0.6871, allocations: 9.906 kB / 0.9555 GB, free: 4.355 MB / 0.7169 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.0001476/0.6873, allocations: 113 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.6877, allocations: 102 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6877, allocations: 1.188 kB / 0.9557 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.6879, allocations: 48.05 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.6883, allocations: 10.25 kB / 0.9558 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.6888, allocations: 188.4 kB / 0.956 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.707e-05/0.6889, allocations: 0.6815 MB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.689, allocations: 9.75 kB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.689, allocations: 0 / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of Templates: time 0.002233/0.6912, allocations: 0.8821 MB / 0.9575 GB, free: 2.855 MB / 0.7169 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