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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 189.6 kB / 22.1 MB, free: 4.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.927/2.927, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002105/0.002105, allocations: 63.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.122, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002433/1.124, allocations: 1.455 MB / 1.308 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001225/1.125, allocations: 0.8127 MB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/1.125, allocations: 2.719 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/1.125, allocations: 0 / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/1.125, allocations: 7.938 kB / 1.309 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/1.126, allocations: 130.2 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/1.126, allocations: 37.91 kB / 1.309 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/1.126, allocations: 10.16 kB / 1.309 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/1.126, allocations: 12.89 kB / 1.309 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/1.126, allocations: 27.05 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/1.126, allocations: 2.812 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/1.127, allocations: 257.6 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/1.127, allocations: 7.047 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/1.127, allocations: 10.72 kB / 1.309 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/1.127, allocations: 185.3 kB / 1.31 GB, free: 31.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.127, allocations: 3.375 kB / 1.31 GB, free: 31.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.127, allocations: 0 / 1.31 GB, free: 31.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.127, allocations: 0 / 1.31 GB, free: 31.95 MB / 1.061 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.0005365/1.127, allocations: 303.6 kB / 1.31 GB, free: 31.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.128, allocations: 8.781 kB / 1.31 GB, free: 31.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/1.128, allocations: 73.66 kB / 1.31 GB, free: 31.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/1.128, allocations: 113.3 kB / 1.31 GB, free: 31.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/1.128, allocations: 4.359 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.128, allocations: 7.094 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/1.128, allocations: 89.89 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.128, allocations: 0 / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.128, allocations: 3.422 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.128, allocations: 0 / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/1.129, allocations: 87.31 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/1.129, allocations: 279 kB / 1.311 GB, free: 31.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/1.13, allocations: 97.61 kB / 1.311 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/1.13, allocations: 44 kB / 1.311 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.13, allocations: 2.906 kB / 1.311 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.13, allocations: 37.98 kB / 1.311 GB, free: 31.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.13, allocations: 0 / 1.311 GB, free: 31.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000729/1.131, allocations: 160.9 kB / 1.311 GB, free: 31.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.131, allocations: 54.16 kB / 1.311 GB, free: 30.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/1.131, allocations: 110.4 kB / 1.311 GB, free: 30.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/1.131, allocations: 29.83 kB / 1.311 GB, free: 30.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/1.131, allocations: 86.73 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/1.131, allocations: 7.375 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/1.131, allocations: 12.47 kB / 1.311 GB, free: 30.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/1.131, allocations: 317.9 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/1.131, allocations: 45.84 kB / 1.312 GB, free: 30.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/1.131, allocations: 41.98 kB / 1.312 GB, free: 30.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/1.132, allocations: 95.3 kB / 1.312 GB, free: 30.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.132, allocations: 0 / 1.312 GB, free: 30.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004189/1.132, allocations: 122.6 kB / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.132, allocations: 9.75 kB / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.132, allocations: 0 / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.132, allocations: 0 / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.132, allocations: 28.06 kB / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.132, allocations: 0 / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.133, allocations: 15.58 kB / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.133, allocations: 10.97 kB / 1.312 GB, free: 30.31 MB / 1.061 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.14e-05/1.133, allocations: 113.7 kB / 1.312 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/1.133, allocations: 6.922 kB / 1.312 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/1.133, allocations: 7.312 kB / 1.312 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.133, allocations: 0 / 1.312 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.133, allocations: 0 / 1.312 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.133, allocations: 3.188 kB / 1.312 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/1.133, allocations: 146.2 kB / 1.312 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.133, allocations: 2.938 kB / 1.312 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.133, allocations: 25.11 kB / 1.312 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.133, allocations: 6.172 kB / 1.312 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/1.133, allocations: 0 / 1.312 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.133, allocations: 0 / 1.312 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.133, allocations: 0 / 1.312 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/1.133, allocations: 223.7 kB / 1.312 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/1.133, allocations: 4.031 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/1.133, allocations: 0 / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/1.134, allocations: 18.02 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/1.134, allocations: 6.141 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/1.134, allocations: 0 / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.635e-05/1.134, allocations: 89.61 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.134, allocations: 0 / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002387/1.134, allocations: 15.34 kB / 1.312 GB, free: 29.76 MB / 1.061 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.0001528/1.134, allocations: 108.1 kB / 1.313 GB, free: 29.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004803/1.134, allocations: 94.89 kB / 1.313 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.134, allocations: 0 / 1.313 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/1.135, allocations: 49.91 kB / 1.313 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/1.135, allocations: 16.86 kB / 1.313 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/1.136, allocations: 157.2 kB / 1.313 GB, free: 29.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/1.136, allocations: 0.6818 MB / 1.314 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.536e-05/1.136, allocations: 18 kB / 1.314 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/1.136, allocations: 10.31 kB / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.136, allocations: 0 / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of Templates: time 0.003364/1.139, allocations: 0.8273 MB / 1.314 GB, free: 28.7 MB / 1.061 GB " [Timeout remaining time 299] 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: 9.37732199858874]