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.001868/0.001868, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002309/0.002309, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.673/2.673, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 2.063e-06/2.063e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.063e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00389/0.00392, allocations: 1.47 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.00594, allocations: 0.7542 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.005987, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.006022, allocations: 1.062 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.006093, allocations: 7.875 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.006807, allocations: 137.6 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.006928, allocations: 36.95 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.007059, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.007183, allocations: 18.3 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.007283, allocations: 19.97 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.007312, allocations: 4 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.007987, allocations: 247.5 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.008016, allocations: 11.92 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.008053, allocations: 7.984 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.008585, allocations: 213.3 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.008589, allocations: 0 / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.008591, allocations: 0 / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.008595, allocations: 0 / 0.7892 GB, free: 9.883 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.0007441/0.009339, allocations: 301.9 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.009387, allocations: 9.562 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.0101, allocations: 69.12 kB / 0.7896 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.01038, allocations: 113.8 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.0104, allocations: 384 / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.01042, allocations: 4.312 kB / 0.7897 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.01085, allocations: 85.22 kB / 0.7898 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01086, allocations: 4.188 kB / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.01088, allocations: 384 / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01089, allocations: 3.938 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.01153, allocations: 97.33 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.01227, allocations: 237.2 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.01286, allocations: 94.31 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.01321, allocations: 52.22 kB / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.01323, allocations: 4 kB / 0.7903 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.01328, allocations: 34.5 kB / 0.7903 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.01328, allocations: 0 / 0.7903 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.001155/0.01443, allocations: 164.1 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.01449, allocations: 55.34 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.01462, allocations: 107.2 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.01466, allocations: 25.7 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.01474, allocations: 88.14 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.01477, allocations: 3.953 kB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.01483, allocations: 14.81 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.01506, allocations: 318.8 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.01538, allocations: 44.11 kB / 0.7911 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.01571, allocations: 43.95 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.01633, allocations: 93.98 kB / 0.7912 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01634, allocations: 0 / 0.7912 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007382/0.01707, allocations: 127 kB / 0.7913 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.0171, allocations: 11.88 kB / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.0171, allocations: 0 / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.01713, allocations: 4 kB / 0.7913 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.01737, allocations: 24 kB / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01738, allocations: 0 / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.01757, allocations: 19.94 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01758, allocations: 3.984 kB / 0.7914 GB, free: 7.539 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.0001229/0.01771, allocations: 109.8 kB / 0.7915 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.01777, allocations: 7.938 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.01781, allocations: 3.312 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01781, allocations: 4 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01782, allocations: 0 / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01782, allocations: 4 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.01808, allocations: 117.4 kB / 0.7916 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.01808, allocations: 4 kB / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.01829, allocations: 19.97 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01829, allocations: 0 / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01831, allocations: 3.938 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01831, allocations: 4 kB / 0.7917 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01831, allocations: 4 kB / 0.7917 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.01922, allocations: 219.4 kB / 0.7919 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.01924, allocations: 3.953 kB / 0.7919 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.01926, allocations: 3.938 kB / 0.7919 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.01954, allocations: 23.97 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.01961, allocations: 3.984 kB / 0.7919 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01962, allocations: 4 kB / 0.7919 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.0197, allocations: 79.28 kB / 0.792 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.0197, allocations: 4.031 kB / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004447/0.02015, allocations: 12 kB / 0.792 GB, free: 6.859 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.0002673/0.02041, allocations: 119.1 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000821/0.02123, allocations: 87.91 kB / 0.7922 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02124, allocations: 0 / 0.7922 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.02167, allocations: 59.94 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.02216, allocations: 4 kB / 0.7923 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.02311, allocations: 168.6 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02321, allocations: 59.34 kB / 0.7925 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.02334, allocations: 11.98 kB / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.02341, allocations: 12.5 kB / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.02341, allocations: 0 / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.006129/0.02954, allocations: 0.8953 MB / 0.7934 GB, free: 5.414 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] 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: 7.5292836469598114]