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.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001286/0.001286, allocations: 186.9 kB / 16.25 MB, free: 6.633 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.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.63/2.63, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6658, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002594/0.6684, allocations: 1.511 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.6696, allocations: 0.7914 MB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.6697, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.6697, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.6698, allocations: 3.938 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.6702, allocations: 107.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.6703, allocations: 31.92 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.6704, allocations: 7.984 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.6705, allocations: 12 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.6705, allocations: 23.91 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.6705, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.671, allocations: 323.3 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.671, allocations: 8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.671, allocations: 15.92 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.6714, allocations: 191.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6714, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6714, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.6714, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 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.0005229/0.6719, allocations: 377.3 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.913e-05/0.672, allocations: 12.03 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.6725, allocations: 68.75 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.6726, allocations: 168.4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.6727, allocations: 8.312 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.6727, allocations: 384 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.673, allocations: 85.94 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.673, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.673, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.673, allocations: 8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.6735, allocations: 87.91 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.674, allocations: 308.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.6744, allocations: 90.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.6746, allocations: 52.88 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.6747, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6747, allocations: 30.56 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6747, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0007282/0.6754, allocations: 173.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6755, allocations: 55.41 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.6755, allocations: 101.8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6756, allocations: 25.7 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.6756, allocations: 84.14 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.6756, allocations: 3.906 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.6757, allocations: 21.75 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6758, allocations: 314.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.676, allocations: 43.95 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.6762, allocations: 43.95 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.6766, allocations: 92.77 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6766, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004479/0.6771, allocations: 129.5 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6771, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6771, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.6772, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.6773, allocations: 24.25 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6773, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.6775, allocations: 19.98 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.6775, allocations: 3.984 kB / 1.022 GB, free: 13.07 MB / 0.7794 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 9.887e-05/0.6776, allocations: 113.7 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.6776, allocations: 12 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.6777, allocations: 3.125 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6777, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6777, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6777, allocations: 3.938 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.6779, allocations: 177.5 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6779, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.6781, allocations: 23.97 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6781, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6781, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6781, allocations: 3.938 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6781, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.6786, allocations: 223.3 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.6787, allocations: 81.11 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.6787, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.6789, allocations: 20 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.6789, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.6789, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.679, allocations: 87.27 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.679, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002375/0.6792, allocations: 16 kB / 1.023 GB, free: 12.22 MB / 0.7794 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.0001794/0.6794, allocations: 99.25 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6799, allocations: 103.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6799, allocations: 4.062 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.6801, allocations: 43.95 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.6806, allocations: 11.94 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.6813, allocations: 157.6 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6816, allocations: 0.6846 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00011/0.6817, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.6818, allocations: 11.42 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6818, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of Templates: time 0.003992/0.6858, allocations: 0.7664 MB / 1.025 GB, free: 10.29 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches