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.001793/0.001793, allocations: 92.7 kB / 19.44 MB, free: 328 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.002505/0.002505, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.189/3.189, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.793e-06/1.793e-06, allocations: 0 / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.948e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001812/0.001842, allocations: 0.6455 MB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.004396, allocations: 1.429 MB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.004429, allocations: 0 / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.004445, allocations: 7.5 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.004528, allocations: 3.984 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.005023, allocations: 131.3 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.005093, allocations: 24.86 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.005127, allocations: 0 / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.005199, allocations: 19.92 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.005267, allocations: 20.98 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.005283, allocations: 0 / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.005745, allocations: 247.5 kB / 0.8801 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.005775, allocations: 12.91 kB / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.005803, allocations: 7.922 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.006194, allocations: 196.2 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006196, allocations: 0 / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.006197, allocations: 3.531 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.006201, allocations: 0 / 0.8803 GB, free: 3.715 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006384/0.00684, allocations: 313.8 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006879, allocations: 8.031 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.007341, allocations: 62.86 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.0075, allocations: 118.5 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.00752, allocations: 4.375 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.007545, allocations: 1.906 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.007853, allocations: 82.2 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007865, allocations: 192 / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.007879, allocations: 4.359 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.007888, allocations: 7.938 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.008281, allocations: 71.91 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.008472, allocations: 117.3 kB / 0.8811 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.009074, allocations: 122.4 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.009273, allocations: 40.95 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.009293, allocations: 4 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.009327, allocations: 34.55 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.009328, allocations: 0 / 0.8813 GB, free: 2.637 MB / 0.8386 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.004482/0.01381, allocations: 0.7934 MB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.01386, allocations: 51.41 kB / 0.8821 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.0141, allocations: 113.8 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.01413, allocations: 25.7 kB / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.01419, allocations: 88.14 kB / 0.8823 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.01424, allocations: 31.73 kB / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.01431, allocations: 25.7 kB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.01449, allocations: 314.8 kB / 0.8827 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.01496, allocations: 99.89 kB / 0.8828 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.01543, allocations: 99.89 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.01634, allocations: 196.8 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.01634, allocations: 4 kB / 0.883 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00101/0.01735, allocations: 241.4 kB / 0.8833 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01737, allocations: 12 kB / 0.8833 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.01738, allocations: 3.938 kB / 0.8833 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.0174, allocations: 0 / 0.8833 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.01774, allocations: 51.94 kB / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01775, allocations: 4 kB / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.01801, allocations: 32.7 kB / 0.8834 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.01803, allocations: 7.984 kB / 0.8834 GB, free: 416 kB / 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 (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.0001128/0.01814, allocations: 113.8 kB / 0.8835 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.01818, allocations: 8 kB / 0.8835 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.01823, allocations: 16.38 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01823, allocations: 0 / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01823, allocations: 3.938 kB / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.01824, allocations: 4 kB / 0.8835 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.02012, allocations: 0.5349 MB / 0.884 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.02012, allocations: 3.984 kB / 0.884 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.02041, allocations: 47.95 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02041, allocations: 0 / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.02044, allocations: 12.05 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02044, allocations: 4 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.02044, allocations: 3.938 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.02153, allocations: 348.9 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.02155, allocations: 3.953 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.02157, allocations: 8 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.02186, allocations: 35.95 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.02191, allocations: 7.984 kB / 0.8845 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.02192, allocations: 11.98 kB / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.301e-05/0.022, allocations: 91.27 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.022, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000314/0.02231, allocations: 39.86 kB / 0.8846 GB, free: 15.05 MB / 0.8542 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.0002615/0.02257, allocations: 135.1 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009984/0.02357, allocations: 207.7 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02357, allocations: 0 / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.02406, allocations: 104 kB / 0.8851 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.02432, allocations: 19.94 kB / 0.8851 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.02602, allocations: 409.8 kB / 0.8855 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.02611, allocations: 67.34 kB / 0.8855 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.02622, allocations: 24.72 kB / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.02653, allocations: 24.42 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.02653, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.005247/0.03178, allocations: 1.786 MB / 0.8873 GB, free: 12.25 MB / 0.8542 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: 8.152217437978834]