Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001392/0.001392, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001521/0.001521, allocations: 173.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.886/2.886, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.615e-05, allocations: 6.219 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001627/0.001653, allocations: 0.6403 MB / 1.001 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.003688, allocations: 1.427 MB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.003718, allocations: 0 / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.003731, allocations: 3.938 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.003806, allocations: 7.875 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.00426, allocations: 119.5 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.004332, allocations: 43.83 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.004366, allocations: 4 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.596e-05/0.004422, allocations: 11.98 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.004482, allocations: 19.92 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.004497, allocations: 0 / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.00493, allocations: 251.4 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.004953, allocations: 11.97 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.004975, allocations: 7.938 kB / 1.003 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.005302, allocations: 187.5 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005306, allocations: 7.984 kB / 1.003 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005307, allocations: 4 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.00531, allocations: 0 / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005153/0.005826, allocations: 297.8 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.00586, allocations: 8.031 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.006251, allocations: 72.75 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.006399, allocations: 125.6 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.006416, allocations: 384 / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.006434, allocations: 4.375 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.00672, allocations: 78.2 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.006732, allocations: 192 / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006742, allocations: 384 / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.006748, allocations: 3.938 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.007133, allocations: 79.84 kB / 1.004 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.007301, allocations: 113.4 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.007891, allocations: 122.4 kB / 1.004 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.008087, allocations: 44.94 kB / 1.004 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.008105, allocations: 0 / 1.004 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.008137, allocations: 34.56 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.008138, allocations: 0 / 1.004 GB, free: 3.422 MB / 0.9512 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004311/0.01245, allocations: 0.7862 MB / 1.005 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.0125, allocations: 63.39 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.0126, allocations: 113.8 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01262, allocations: 25.7 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.01267, allocations: 84.14 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.01271, allocations: 27.77 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.01277, allocations: 25.7 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.01292, allocations: 322.8 kB / 1.005 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.01337, allocations: 91.91 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.01382, allocations: 99.89 kB / 1.005 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.01471, allocations: 196.6 kB / 1.006 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01471, allocations: 0 / 1.006 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000997/0.0157, allocations: 233.7 kB / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.01572, allocations: 15.98 kB / 1.006 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01573, allocations: 3.938 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01574, allocations: 0 / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.01608, allocations: 55.88 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01608, allocations: 0 / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.01632, allocations: 39.95 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01634, allocations: 7.938 kB / 1.006 GB, free: 1.195 MB / 0.9512 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 (9): * Single equations (assignments): 9 * 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 0.0001049/0.01644, allocations: 118.3 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.01647, allocations: 3.953 kB / 1.006 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.01655, allocations: 20.38 kB / 1.006 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01655, allocations: 0 / 1.006 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01656, allocations: 3.984 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01656, allocations: 0 / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.0183, allocations: 0.5346 MB / 1.007 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0183, allocations: 4.062 kB / 1.007 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.01858, allocations: 51.94 kB / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01858, allocations: 0 / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01859, allocations: 4 kB / 1.007 GB, free: 416 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.0186, allocations: 4 kB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0186, allocations: 4 kB / 1.007 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.01963, allocations: 340.9 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01964, allocations: 4 kB / 1.007 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.01967, allocations: 7.984 kB / 1.007 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.01993, allocations: 31.97 kB / 1.007 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.02, allocations: 15.97 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.02001, allocations: 7.938 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.02008, allocations: 95.64 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.02008, allocations: 0 / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003088/0.02039, allocations: 31.94 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002517/0.02064, allocations: 135.1 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.02164, allocations: 211.8 kB / 1.007 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02164, allocations: 0 / 1.007 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.02212, allocations: 104 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.02237, allocations: 15.94 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.02406, allocations: 398.3 kB / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.02413, allocations: 75.19 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.02423, allocations: 20.72 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.02431, allocations: 20.5 kB / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.02431, allocations: 0 / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of Templates: time 0.005032/0.02934, allocations: 1.761 MB / 1.01 GB, free: 13.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.905845649540424]