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.001352/0.001352, allocations: 93.06 kB / 19.65 MB, free: 280 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.001592/0.001592, 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.9212/0.9212, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.017/2.017, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.352e-06/1.352e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.469e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002002/0.002026, allocations: 1.497 MB / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.002999, allocations: 0.7838 MB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.003032, allocations: 4 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.003058, allocations: 3.938 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.003104, allocations: 9.047 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.003586, allocations: 139 kB / 0.8806 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.003665, allocations: 27.92 kB / 0.8806 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.003747, allocations: 8 kB / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.003795, allocations: 15.98 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.003844, allocations: 15.97 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.003859, allocations: 10.53 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.004124, allocations: 251.5 kB / 0.8809 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.004141, allocations: 11.92 kB / 0.8809 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.004161, allocations: 7.984 kB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.004398, allocations: 203.5 kB / 0.8811 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.0044, allocations: 0 / 0.8811 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004401, allocations: 4 kB / 0.8811 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004405, allocations: 0.7188 kB / 0.8811 GB, free: 3.375 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.0003795/0.004785, allocations: 393.9 kB / 0.8815 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.00482, allocations: 16.02 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.005052, allocations: 54.17 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.457e-05/0.005127, allocations: 108.6 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.005141, allocations: 4.359 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.005149, allocations: 384 / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.005301, allocations: 74.92 kB / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.005307, allocations: 4.125 kB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.005315, allocations: 4.312 kB / 0.8817 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005323, allocations: 7.922 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.005365, allocations: 12 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.005691, allocations: 275.8 kB / 0.882 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.005789, allocations: 47.05 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.005818, allocations: 19.73 kB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.00583, allocations: 0 / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.005852, allocations: 45.27 kB / 0.8821 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.005853, allocations: 0 / 0.8821 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.006019, allocations: 53.64 kB / 0.8822 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.006048, allocations: 51.41 kB / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.006115, allocations: 161.9 kB / 0.8824 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.006128, allocations: 29.69 kB / 0.8824 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.006175, allocations: 126.9 kB / 0.8825 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.006195, allocations: 15.89 kB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.006224, allocations: 15.38 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.006339, allocations: 0.4924 MB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.006365, allocations: 4 kB / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.006388, allocations: 12.19 kB / 0.883 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.006427, allocations: 11.69 kB / 0.883 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.006431, allocations: 4 kB / 0.883 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.006543, allocations: 49.69 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.006559, allocations: 7.938 kB / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006564, allocations: 0 / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.006578, allocations: 96 / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.00668, allocations: 19.98 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006684, allocations: 0 / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.006721, allocations: 7.984 kB / 0.8831 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.006729, allocations: 4 kB / 0.8831 GB, free: 1.07 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 6.118e-05/0.00679, allocations: 156.5 kB / 0.8833 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.006808, allocations: 3.938 kB / 0.8833 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.006836, allocations: 15.3 kB / 0.8833 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006838, allocations: 4 kB / 0.8833 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.006841, allocations: 3.938 kB / 0.8833 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.006843, allocations: 0 / 0.8833 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.761e-05/0.006941, allocations: 124.6 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006942, allocations: 0 / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.006983, allocations: 11.98 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006984, allocations: 0 / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.006996, allocations: 7.938 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006998, allocations: 0 / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006999, allocations: 0 / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007121, allocations: 191.9 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.00713, allocations: 8 kB / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.007146, allocations: 3.938 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.007234, allocations: 11.98 kB / 0.8837 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.007274, allocations: 7.922 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.00728, allocations: 0 / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.007325, allocations: 127.2 kB / 0.8838 GB, free: 348 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007325, allocations: 0 / 0.8838 GB, free: 348 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001588/0.007484, allocations: 15.94 kB / 0.8838 GB, free: 332 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.0001298/0.007614, allocations: 111.2 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.007719, allocations: 27.67 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.00772, allocations: 0 / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.007747, allocations: 15.69 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.007957, allocations: 12.12 kB / 0.884 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.008271, allocations: 142.3 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.008305, allocations: 55.36 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.008342, allocations: 8 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.008374, allocations: 12.48 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.008375, allocations: 0 / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.002752/0.01113, allocations: 0.9579 MB / 0.8851 GB, free: 14.94 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.079409685917199]