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.001371/0.001371, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.00151/0.00151, allocations: 163.2 kB / 22.46 MB, free: 5.359 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.528/1.528, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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 1.603e-06/1.603e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.647e-05, allocations: 9.172 kB / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002793/0.002819, allocations: 1.456 MB / 0.9829 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.00425, allocations: 0.7554 MB / 0.9836 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.004294, allocations: 0 / 0.9836 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.004325, allocations: 3.938 kB / 0.9836 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.004371, allocations: 15.91 kB / 0.9836 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.004891, allocations: 127.4 kB / 0.9837 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.004976, allocations: 39.91 kB / 0.9838 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.005061, allocations: 4 kB / 0.9838 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.005116, allocations: 15.98 kB / 0.9838 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.005172, allocations: 23.89 kB / 0.9838 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.00519, allocations: 4 kB / 0.9838 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.005646, allocations: 255.4 kB / 0.9841 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.005669, allocations: 7.938 kB / 0.9841 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.005692, allocations: 7.984 kB / 0.9841 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.006075, allocations: 211.5 kB / 0.9843 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006077, allocations: 0 / 0.9843 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006078, allocations: 3.938 kB / 0.9843 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.006085, allocations: 0 / 0.9843 GB, free: 7.957 MB / 0.8887 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.0005492/0.006634, allocations: 294 kB / 0.9846 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006669, allocations: 8.031 kB / 0.9846 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.007169, allocations: 72.8 kB / 0.9846 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.007289, allocations: 113.7 kB / 0.9848 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.007307, allocations: 384 / 0.9848 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.007323, allocations: 384 / 0.9848 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.00766, allocations: 90.19 kB / 0.9848 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.007668, allocations: 192 / 0.9848 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007681, allocations: 4.375 kB / 0.9848 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007687, allocations: 7.875 kB / 0.9849 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.008144, allocations: 91.89 kB / 0.9849 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.008696, allocations: 236.5 kB / 0.9852 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.009114, allocations: 94.48 kB / 0.9853 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.009345, allocations: 48.88 kB / 0.9853 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.009364, allocations: 0 / 0.9853 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.009395, allocations: 38.5 kB / 0.9853 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.009396, allocations: 4 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0008016/0.0102, allocations: 169.4 kB / 0.9855 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.01024, allocations: 51.41 kB / 0.9856 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.01033, allocations: 105.9 kB / 0.9857 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01035, allocations: 25.7 kB / 0.9857 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.01041, allocations: 88.12 kB / 0.9858 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.01043, allocations: 12.08 kB / 0.9858 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.01047, allocations: 9.719 kB / 0.9858 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01061, allocations: 318.8 kB / 0.9861 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.01084, allocations: 43.94 kB / 0.9861 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.01107, allocations: 47.97 kB / 0.9862 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.01152, allocations: 88.83 kB / 0.9863 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01152, allocations: 0 / 0.9863 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005182/0.01204, allocations: 125.5 kB / 0.9864 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01205, allocations: 7.938 kB / 0.9864 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.01206, allocations: 3.984 kB / 0.9864 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01207, allocations: 0 / 0.9864 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01225, allocations: 27.95 kB / 0.9864 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01226, allocations: 3.984 kB / 0.9864 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.01238, allocations: 11.98 kB / 0.9864 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.0124, allocations: 4 kB / 0.9864 GB, free: 5.582 MB / 0.8887 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 8.404e-05/0.01248, allocations: 106.4 kB / 0.9865 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.01251, allocations: 3.938 kB / 0.9865 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.01255, allocations: 19.3 kB / 0.9866 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01255, allocations: 3.984 kB / 0.9866 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01255, allocations: 0 / 0.9866 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01256, allocations: 3.938 kB / 0.9866 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.01272, allocations: 121.2 kB / 0.9867 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01272, allocations: 0 / 0.9867 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.01287, allocations: 23.97 kB / 0.9867 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01288, allocations: 0 / 0.9867 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01289, allocations: 3.938 kB / 0.9867 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01289, allocations: 4.25 kB / 0.9867 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01289, allocations: 7.938 kB / 0.9867 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.01345, allocations: 219.5 kB / 0.9869 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.01346, allocations: 4 kB / 0.9869 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.01348, allocations: 3.938 kB / 0.9869 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.01364, allocations: 15.97 kB / 0.987 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.01368, allocations: 4 kB / 0.987 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01369, allocations: 0 / 0.987 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.01374, allocations: 91.3 kB / 0.987 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.01374, allocations: 0 / 0.987 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002607/0.014, allocations: 15.94 kB / 0.9871 GB, free: 4.891 MB / 0.8887 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.0001919/0.0142, allocations: 103.2 kB / 0.9872 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.01472, allocations: 103.8 kB / 0.9873 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01472, allocations: 0 / 0.9873 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.01497, allocations: 48.02 kB / 0.9873 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01528, allocations: 7.984 kB / 0.9873 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.01588, allocations: 160.8 kB / 0.9875 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.01594, allocations: 55.36 kB / 0.9875 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.669e-05/0.01601, allocations: 8 kB / 0.9875 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01606, allocations: 20.48 kB / 0.9875 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of SimCode: time 3.2e-07/0.01606, allocations: 0 / 0.9875 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of Templates: time 0.003643/0.0197, allocations: 0.8773 MB / 0.9884 GB, free: 3.477 MB / 0.8887 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: 7.923941865563393]