Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001334/0.001334, allocations: 78.33 kB / 19.76 MB, free: 2.031 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.001368/0.001368, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.775/2.775, allocations: 377.9 MB / 0.6228 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 63.91 kB / 0.982 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.8004, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001503/0.8019, allocations: 0.6363 MB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.8033, allocations: 1.424 MB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.8033, allocations: 4 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.8033, allocations: 3.938 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.8034, allocations: 7.266 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.8037, allocations: 124.8 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.8038, allocations: 32.09 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.8038, allocations: 10.45 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.8039, allocations: 16.98 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.8039, allocations: 12.92 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.8039, allocations: 0 / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.8043, allocations: 246.7 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.8043, allocations: 14.38 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.8043, allocations: 14.02 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.8045, allocations: 173.6 kB / 1.157 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8045, allocations: 0 / 1.157 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8045, allocations: 0 / 1.157 GB, free: 31.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.8045, allocations: 6.5 kB / 1.157 GB, free: 31.72 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003882/0.8049, allocations: 303.1 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.805, allocations: 11.09 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.8053, allocations: 64.89 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.8054, allocations: 123.1 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.8054, allocations: 3.156 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.8054, allocations: 7.188 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.8057, allocations: 77.25 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8057, allocations: 3.422 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.8057, allocations: 2.5 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.8057, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.806, allocations: 69.64 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.8061, allocations: 116.7 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.8066, allocations: 120.5 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.8068, allocations: 43.7 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.8068, allocations: 7 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.8068, allocations: 34.56 kB / 1.158 GB, free: 30.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.8068, allocations: 0 / 1.158 GB, free: 30.99 MB / 1.076 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003854/0.8107, allocations: 0.787 MB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.8107, allocations: 51.41 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.8108, allocations: 119.8 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.8108, allocations: 33.7 kB / 1.159 GB, free: 30.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.723e-05/0.8108, allocations: 83.56 kB / 1.159 GB, free: 30.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.8108, allocations: 33.19 kB / 1.159 GB, free: 30.53 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.8109, allocations: 28.42 kB / 1.159 GB, free: 30.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.8109, allocations: 314.8 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.8113, allocations: 97.75 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.8117, allocations: 93.3 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.8125, allocations: 194.7 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.8125, allocations: 0 / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008694/0.8134, allocations: 246.8 kB / 1.16 GB, free: 30.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.8134, allocations: 6.062 kB / 1.16 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.8134, allocations: 4 kB / 1.16 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8134, allocations: 0.75 kB / 1.16 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.8137, allocations: 57.98 kB / 1.16 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8137, allocations: 2.844 kB / 1.16 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.8139, allocations: 35.83 kB / 1.16 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.814, allocations: 6.75 kB / 1.16 GB, free: 30.04 MB / 1.076 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 (9): * Single equations (assignments): 9 * 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 4.856e-05/0.814, allocations: 112.6 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.814, allocations: 9.594 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.8141, allocations: 15.77 kB / 1.16 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.8141, allocations: 4 kB / 1.16 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.8141, allocations: 2.812 kB / 1.16 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8141, allocations: 0 / 1.16 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.8155, allocations: 0.5375 MB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8155, allocations: 4.062 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.8158, allocations: 48.45 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8158, allocations: 10.92 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.8158, allocations: 3.328 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8158, allocations: 2.688 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8158, allocations: 4 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.8167, allocations: 344.5 kB / 1.161 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.8167, allocations: 6.922 kB / 1.161 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.8167, allocations: 6.875 kB / 1.161 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.8169, allocations: 37.88 kB / 1.161 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.817, allocations: 9.344 kB / 1.161 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.817, allocations: 6.188 kB / 1.161 GB, free: 29.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.817, allocations: 95.22 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.817, allocations: 0 / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002808/0.8173, allocations: 37.78 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001493/0.8175, allocations: 131 kB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.8186, allocations: 206.3 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8186, allocations: 0 / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.819, allocations: 106.2 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.8192, allocations: 13.53 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.8207, allocations: 399 kB / 1.162 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.8207, allocations: 84.22 kB / 1.162 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.8208, allocations: 20.48 kB / 1.162 GB, free: 28.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.8208, allocations: 21.39 kB / 1.162 GB, free: 28.87 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.8208, allocations: 3.031 kB / 1.162 GB, free: 28.87 MB / 1.076 GB Notification: Performance of Templates: time 0.003992/0.8248, allocations: 1.755 MB / 1.164 GB, free: 28.69 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.348297519027255]