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.002518/0.002518, allocations: 85.48 kB / 19.44 MB, free: 340 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.003247/0.003247, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.419/3.419, allocations: 429.5 MB / 0.6729 GB, free: 4.039 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.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.823e-06/1.823e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.839e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002901/0.002939, allocations: 1.476 MB / 0.8789 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004396, allocations: 0.7716 MB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.004426, allocations: 4 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.004451, allocations: 10.08 kB / 0.8797 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.004498, allocations: 3.938 kB / 0.8797 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.004957, allocations: 141.8 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.005038, allocations: 27.92 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.005111, allocations: 8 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.005175, allocations: 15.98 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.005231, allocations: 16.47 kB / 0.8799 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.00525, allocations: 5.875 kB / 0.8799 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.005682, allocations: 255.4 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.0057, allocations: 3.938 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.00573, allocations: 15.97 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.006106, allocations: 211.4 kB / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006109, allocations: 1.25 kB / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006109, allocations: 0 / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.006113, allocations: 0 / 0.8803 GB, free: 3.754 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.000596/0.006709, allocations: 397.5 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.00675, allocations: 8.031 kB / 0.8807 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/0.007184, allocations: 52.88 kB / 0.8808 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.007304, allocations: 116.5 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.00732, allocations: 384 / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.007331, allocations: 4.375 kB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.007572, allocations: 66.2 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.007581, allocations: 4.188 kB / 0.8809 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.007591, allocations: 384 / 0.881 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.007598, allocations: 7.938 kB / 0.881 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.007902, allocations: 67.88 kB / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.008417, allocations: 283.8 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.008711, allocations: 79.03 kB / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.008874, allocations: 39.72 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.008891, allocations: 4 kB / 0.8814 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.008927, allocations: 41.33 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.008928, allocations: 0 / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0005667/0.009495, allocations: 129.6 kB / 0.8816 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.009545, allocations: 55.41 kB / 0.8816 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.009672, allocations: 165.9 kB / 0.8818 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.009695, allocations: 25.7 kB / 0.8818 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.009773, allocations: 126.9 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.009805, allocations: 11.95 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.00986, allocations: 23.36 kB / 0.882 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.0101, allocations: 492.1 kB / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.01026, allocations: 40 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01039, allocations: 27.98 kB / 0.8825 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.01067, allocations: 63.58 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01067, allocations: 4.062 kB / 0.8826 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003397/0.01101, allocations: 89.64 kB / 0.8826 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01103, allocations: 11.94 kB / 0.8827 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01103, allocations: 0 / 0.8827 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01104, allocations: 0 / 0.8827 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01117, allocations: 16.02 kB / 0.8827 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.01118, allocations: 4 kB / 0.8827 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.01126, allocations: 8.234 kB / 0.8827 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.01127, allocations: 0 / 0.8827 GB, free: 1.137 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 0.0001161/0.01138, allocations: 156.6 kB / 0.8828 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.01142, allocations: 7.938 kB / 0.8828 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.01146, allocations: 15.3 kB / 0.8829 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.01146, allocations: 0 / 0.8829 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01146, allocations: 4 kB / 0.8829 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.01146, allocations: 0 / 0.8829 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.01164, allocations: 124.6 kB / 0.883 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01164, allocations: 3.938 kB / 0.883 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.01176, allocations: 19.92 kB / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01176, allocations: 0 / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01177, allocations: 3.938 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01177, allocations: 0 / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01178, allocations: 0 / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.01221, allocations: 243.8 kB / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.01222, allocations: 4 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.01224, allocations: 3.938 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01235, allocations: 7.984 kB / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.01239, allocations: 8 kB / 0.8833 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.0124, allocations: 8.016 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.01247, allocations: 123.2 kB / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01247, allocations: 0 / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002401/0.01271, allocations: 15.94 kB / 0.8834 GB, free: 344 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.0001852/0.0129, allocations: 115.1 kB / 0.8835 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.01325, allocations: 75.64 kB / 0.8836 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01325, allocations: 0 / 0.8836 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.01342, allocations: 43.66 kB / 0.8836 GB, free: 92 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01367, allocations: 8 kB / 0.8836 GB, free: 84 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.01419, allocations: 150.4 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.01425, allocations: 59.36 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7e-05/0.01432, allocations: 8 kB / 0.8838 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.01437, allocations: 16.48 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01437, allocations: 3.938 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00408/0.01845, allocations: 0.9026 MB / 0.8847 GB, free: 14.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.506608969997615]