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.000952/0.000952, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009705/0.0009705, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9448/0.9448, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.071/2.071, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.623e-06/1.623e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.721e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001752/0.001769, allocations: 1.508 MB / 0.8796 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.002673, allocations: 0.7811 MB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.002708, allocations: 0 / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.002738, allocations: 3.938 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.002782, allocations: 12.42 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.00316, allocations: 130.6 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.003222, allocations: 31.92 kB / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.003305, allocations: 12.7 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.003352, allocations: 11.98 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.0034, allocations: 20.62 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.003414, allocations: 4 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.003685, allocations: 257 kB / 0.8809 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.0037, allocations: 11.92 kB / 0.8809 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.003719, allocations: 0 / 0.8809 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.003952, allocations: 211.4 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003954, allocations: 2.062 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003955, allocations: 0 / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003958, allocations: 0 / 0.8811 GB, free: 3.355 MB / 0.8386 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.0003557/0.004314, allocations: 396.2 kB / 0.8815 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.00435, allocations: 8.031 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.004579, allocations: 55.3 kB / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.244e-05/0.004651, allocations: 105.3 kB / 0.8816 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.004665, allocations: 4.375 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.004678, allocations: 1.719 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.004833, allocations: 82.91 kB / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004842, allocations: 192 / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004852, allocations: 384 / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.00486, allocations: 3.938 kB / 0.8817 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.004907, allocations: 19.91 kB / 0.8817 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.005221, allocations: 271.8 kB / 0.882 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.873e-05/0.005319, allocations: 59.03 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.005347, allocations: 11.75 kB / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.005364, allocations: 4 kB / 0.8821 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.005386, allocations: 41.27 kB / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.005387, allocations: 0 / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.005549, allocations: 53.64 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.005573, allocations: 51.41 kB / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.005638, allocations: 165.9 kB / 0.8824 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.005649, allocations: 29.83 kB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.005688, allocations: 126.9 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.005706, allocations: 11.89 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.005737, allocations: 23.36 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.005841, allocations: 496.1 kB / 0.883 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.005864, allocations: 0 / 0.883 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.005885, allocations: 16.23 kB / 0.883 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.005925, allocations: 15.62 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.005928, allocations: 4 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.315e-05/0.006001, allocations: 49.75 kB / 0.8831 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006014, allocations: 11.94 kB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006018, allocations: 0 / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.006031, allocations: 0 / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.00611, allocations: 11.98 kB / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.006115, allocations: 0 / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.006149, allocations: 11.98 kB / 0.8831 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006155, allocations: 0 / 0.8831 GB, free: 1.055 MB / 0.8386 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.804e-05/0.006213, allocations: 160.6 kB / 0.8833 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.006229, allocations: 3.938 kB / 0.8833 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.006262, allocations: 11.25 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006263, allocations: 4 kB / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.006266, allocations: 0 / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.006268, allocations: 0 / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.006369, allocations: 124.6 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00637, allocations: 7.938 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.006411, allocations: 15.97 kB / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006413, allocations: 4 kB / 0.8834 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.006421, allocations: 3.938 kB / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006422, allocations: 0 / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006423, allocations: 4 kB / 0.8835 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006536, allocations: 187.9 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.006543, allocations: 8 kB / 0.8836 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.006554, allocations: 3.938 kB / 0.8836 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.006601, allocations: 7.984 kB / 0.8836 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.006634, allocations: 4.031 kB / 0.8837 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.006637, allocations: 4 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.006673, allocations: 135.1 kB / 0.8838 GB, free: 320 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006673, allocations: 0 / 0.8838 GB, free: 320 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000153/0.006826, allocations: 15.94 kB / 0.8838 GB, free: 304 kB / 0.8386 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.0001004/0.006926, allocations: 103.2 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.007015, allocations: 19.69 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007016, allocations: 4 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.007045, allocations: 19.73 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.007213, allocations: 8.188 kB / 0.8839 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.00749, allocations: 130.2 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.007522, allocations: 59.34 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.00756, allocations: 12.06 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.007592, allocations: 8.5 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.007593, allocations: 0 / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.002191/0.009784, allocations: 0.918 MB / 0.885 GB, free: 14.97 MB / 0.8542 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 -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.473204284906387]