Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002213/0.002213, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002069/0.002069, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.627/1.627, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.907/2.907, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.876e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.0028/0.002828, allocations: 1.473 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004326, allocations: 0.7771 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.004357, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.004383, allocations: 4.719 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.004432, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.004933, allocations: 134.7 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.005012, allocations: 31.92 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.005089, allocations: 11.92 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.005163, allocations: 25.81 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.005218, allocations: 11.98 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.005235, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.005923, allocations: 255.4 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.005943, allocations: 7.984 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.00597, allocations: 8.562 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.006346, allocations: 208.9 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006349, allocations: 0 / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.286e-06/0.006352, allocations: 7.922 kB / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.006356, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.7448 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.0006215/0.006977, allocations: 397.6 kB / 0.7896 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.007011, allocations: 8.031 kB / 0.7896 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.007434, allocations: 55.91 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.00755, allocations: 104.6 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.007568, allocations: 4.375 kB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.007585, allocations: 384 / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.007832, allocations: 72.8 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.007843, allocations: 4.188 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.007853, allocations: 384 / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.007862, allocations: 3.938 kB / 0.7899 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.00816, allocations: 58.86 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.008709, allocations: 291.7 kB / 0.7902 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.009014, allocations: 78.08 kB / 0.7903 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.009167, allocations: 37.11 kB / 0.7903 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.009189, allocations: 7.984 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.00923, allocations: 41.33 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.009231, allocations: 0.8438 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0005877/0.009819, allocations: 124.5 kB / 0.7905 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.009867, allocations: 51.41 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01, allocations: 163.1 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.01003, allocations: 29.69 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.01011, allocations: 134.9 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.01013, allocations: 9.234 kB / 0.7909 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.01019, allocations: 19.38 kB / 0.7909 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.01045, allocations: 0.4884 MB / 0.7914 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.01061, allocations: 29.52 kB / 0.7914 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01075, allocations: 34.78 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.01102, allocations: 60.14 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01102, allocations: 0.5312 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003354/0.01136, allocations: 96.03 kB / 0.7916 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01137, allocations: 8.594 kB / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01138, allocations: 0 / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01139, allocations: 0.7188 kB / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01153, allocations: 22.81 kB / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01154, allocations: 0 / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.01162, allocations: 7.953 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01164, allocations: 7.984 kB / 0.7916 GB, free: 7.262 MB / 0.7448 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.0001185/0.01175, allocations: 156.6 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.01179, allocations: 7.938 kB / 0.7918 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.01182, allocations: 5.375 kB / 0.7918 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01182, allocations: 3.984 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01182, allocations: 0 / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.01183, allocations: 0 / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01202, allocations: 132.8 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.01203, allocations: 8.938 kB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01214, allocations: 15.92 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01214, allocations: 1.125 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01215, allocations: 3.938 kB / 0.7919 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01215, allocations: 3.984 kB / 0.7919 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01216, allocations: 5.094 kB / 0.7919 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.01261, allocations: 234.9 kB / 0.7922 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.01262, allocations: 7.953 kB / 0.7922 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01264, allocations: 7.922 kB / 0.7922 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.01276, allocations: 8.25 kB / 0.7922 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.01282, allocations: 7.984 kB / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01282, allocations: 0 / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.01292, allocations: 127.2 kB / 0.7923 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01292, allocations: 3.938 kB / 0.7923 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002495/0.01317, allocations: 15.98 kB / 0.7923 GB, free: 6.461 MB / 0.7448 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.0002292/0.0134, allocations: 106.1 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.01378, allocations: 83.56 kB / 0.7925 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01378, allocations: 4 kB / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.01395, allocations: 35.67 kB / 0.7926 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.0142, allocations: 11.98 kB / 0.7926 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.01474, allocations: 154.4 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.041e-05/0.01481, allocations: 59.34 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.289e-05/0.01489, allocations: 11.98 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.01493, allocations: 12.5 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01493, allocations: 4 kB / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of Templates: time 0.003961/0.01889, allocations: 0.9014 MB / 0.7937 GB, free: 5.039 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.025603880989365]