Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001248/0.001248, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001147/0.001147, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9092/0.9092, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.758/1.758, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.316e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002977/0.003011, allocations: 1.46 MB / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.004253, allocations: 0.7632 MB / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.004284, allocations: 0 / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.004304, allocations: 3.938 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.087e-05/0.004335, allocations: 0 / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.004756, allocations: 135.4 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.004821, allocations: 31.91 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.004892, allocations: 11.94 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.004944, allocations: 19.92 kB / 0.9846 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.004995, allocations: 19.97 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.005008, allocations: 0 / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.005396, allocations: 255.5 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.00541, allocations: 0 / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.005435, allocations: 11.98 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.005754, allocations: 219.4 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005757, allocations: 0 / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005758, allocations: 0 / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.005763, allocations: 0 / 0.985 GB, free: 15.16 MB / 0.948 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.0004224/0.006185, allocations: 294 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.006221, allocations: 12.03 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.006494, allocations: 68.8 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.357e-05/0.006568, allocations: 113.7 kB / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.006589, allocations: 4.375 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.006599, allocations: 4.375 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.00677, allocations: 78.19 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.006776, allocations: 4.188 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.006785, allocations: 384 / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.006789, allocations: 11.88 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.006995, allocations: 95.89 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.007326, allocations: 224.6 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.00751, allocations: 98.48 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.00761, allocations: 52.88 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.007623, allocations: 0 / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.007641, allocations: 38.44 kB / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.007642, allocations: 0 / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0003653/0.008007, allocations: 169.5 kB / 0.9863 GB, free: 13.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.008038, allocations: 55.41 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.008091, allocations: 106 kB / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.008102, allocations: 29.64 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.008143, allocations: 88.14 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.008158, allocations: 7.891 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.008187, allocations: 13.72 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.008264, allocations: 314.8 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.008361, allocations: 47.95 kB / 0.9869 GB, free: 13.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.008451, allocations: 43.95 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.008629, allocations: 96.77 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008631, allocations: 0 / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.008836, allocations: 121.6 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.008848, allocations: 7.938 kB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008852, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.008863, allocations: 8.016 kB / 0.9872 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.00894, allocations: 23.97 kB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.008943, allocations: 0 / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.008995, allocations: 19.98 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.008999, allocations: 0 / 0.9872 GB, free: 12.78 MB / 0.948 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.566e-05/0.009055, allocations: 114.4 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.009072, allocations: 11.89 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.009094, allocations: 7.312 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.009095, allocations: 3.938 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009099, allocations: 0 / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.009101, allocations: 0 / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.112e-05/0.009193, allocations: 109.3 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.009194, allocations: 0 / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.009248, allocations: 27.97 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.009249, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.009257, allocations: 3.938 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.009257, allocations: 256 / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009258, allocations: 0 / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.009522, allocations: 223.5 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.009529, allocations: 4 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.009544, allocations: 3.938 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.009644, allocations: 19.97 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.009677, allocations: 4.031 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.009684, allocations: 7.984 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.009718, allocations: 83.28 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009719, allocations: 7.875 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002635/0.009982, allocations: 11.94 kB / 0.9878 GB, free: 12.1 MB / 0.948 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.0001639/0.01015, allocations: 107.2 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.01051, allocations: 95.91 kB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01052, allocations: 0 / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.01067, allocations: 55.94 kB / 0.9881 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01095, allocations: 10.52 kB / 0.9881 GB, free: 11.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.01133, allocations: 182.6 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.01138, allocations: 67.28 kB / 0.9883 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.01141, allocations: 8.5 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of SimCode: time 5.62e-07/0.01141, allocations: 0 / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of Templates: time 0.001735/0.01315, allocations: 0.9088 MB / 0.9892 GB, free: 10.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.5104081789031625]