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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.544/2.544, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.227e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002212/0.002235, allocations: 1.553 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003298, allocations: 0.7902 MB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.003329, allocations: 0 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.003357, allocations: 3.938 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.003405, allocations: 4 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.003776, allocations: 135.4 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.003842, allocations: 31.86 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.003922, allocations: 8 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.003984, allocations: 15.98 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.004031, allocations: 15.97 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.004045, allocations: 7.984 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.004342, allocations: 259.5 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.004356, allocations: 11.92 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.004372, allocations: 8 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.004605, allocations: 203.5 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004607, allocations: 0 / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004608, allocations: 0 / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.004612, allocations: 4 kB / 0.8416 GB, free: 11.09 MB / 0.8073 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.0003068/0.004919, allocations: 264.5 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004955, allocations: 12.62 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.005183, allocations: 52.86 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.051e-05/0.005264, allocations: 109.8 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.005276, allocations: 4.375 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.005284, allocations: 4.375 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005418, allocations: 78.84 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.005424, allocations: 192 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005432, allocations: 384 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005437, allocations: 7.875 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.005472, allocations: 8 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.00572, allocations: 164.3 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.005799, allocations: 46.55 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.005817, allocations: 8.922 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.005829, allocations: 0 / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.005852, allocations: 34.55 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.005852, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.00597, allocations: 41.64 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.006, allocations: 55.41 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.006056, allocations: 110.7 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.006066, allocations: 29.83 kB / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.006095, allocations: 84.08 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.006115, allocations: 11.94 kB / 0.8427 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.006144, allocations: 17.64 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.006227, allocations: 314.8 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.006242, allocations: 0 / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.006258, allocations: 4 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.006289, allocations: 17.09 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006291, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.124e-05/0.006353, allocations: 49.75 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006364, allocations: 4 kB / 0.8431 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006368, allocations: 0 / 0.8431 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.006379, allocations: 3.938 kB / 0.8431 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.006512, allocations: 19.92 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006515, allocations: 0 / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.006552, allocations: 11.98 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006558, allocations: 0 / 0.8431 GB, free: 9.398 MB / 0.8073 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.845e-05/0.006616, allocations: 109.9 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.006636, allocations: 0 / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.006664, allocations: 11.3 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006667, allocations: 3.938 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006668, allocations: 0 / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.00667, allocations: 0 / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.006765, allocations: 77.88 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006766, allocations: 0 / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.006807, allocations: 15.92 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.006809, allocations: 4 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.006814, allocations: 4 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.006817, allocations: 3.984 kB / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006818, allocations: 0 / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.006917, allocations: 143.4 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.006924, allocations: 3.953 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006933, allocations: 0 / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.006983, allocations: 11.98 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.007013, allocations: 7.922 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.007017, allocations: 4.031 kB / 0.8435 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.007028, allocations: 8.859 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007028, allocations: 0 / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001373/0.007166, allocations: 19.94 kB / 0.8435 GB, free: 8.93 MB / 0.8073 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.0001171/0.007283, allocations: 88.39 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.007352, allocations: 12.86 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.007354, allocations: 0 / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.007378, allocations: 20.78 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007517, allocations: 16.19 kB / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.007767, allocations: 116.8 kB / 0.8437 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.0078, allocations: 59.34 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.007842, allocations: 8 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.0079, allocations: 55.38 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.007901, allocations: 0 / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.002488/0.01039, allocations: 0.9163 MB / 0.8448 GB, free: 7.598 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.41015111701563]