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.001898/0.001898, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002367/0.002367, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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 3.136/3.136, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 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.002043/0.002043, allocations: 64.66 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3987, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002714/0.4014, allocations: 0.6434 MB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.4045, allocations: 1.432 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.4045, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.4045, allocations: 7.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.4046, allocations: 11.92 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.4051, allocations: 119.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.538e-05/0.4051, allocations: 23.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.4052, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.4052, allocations: 19.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.4053, allocations: 15.91 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4053, allocations: 8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.4057, allocations: 247.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.4058, allocations: 15.91 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.4058, allocations: 7.938 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.4061, allocations: 179.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4061, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4061, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4061, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 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.0006021/0.4067, allocations: 309.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4068, allocations: 12.03 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.4071, allocations: 56.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4073, allocations: 122.4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4073, allocations: 8.312 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4073, allocations: 384 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.4076, allocations: 81.89 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4076, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4077, allocations: 3.984 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4077, allocations: 8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.408, allocations: 63.92 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.4082, allocations: 117.4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.4087, allocations: 122.4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.4089, allocations: 40.94 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.409, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.409, allocations: 34.56 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.409, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 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.00403/0.413, allocations: 0.7896 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4131, allocations: 55.34 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4132, allocations: 117.8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4132, allocations: 25.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.4133, allocations: 92.05 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.4133, allocations: 27.75 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.4134, allocations: 29.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4135, allocations: 318.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.414, allocations: 95.89 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.4144, allocations: 95.91 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.4152, allocations: 200.8 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4152, allocations: 0.75 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009504/0.4162, allocations: 245.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4162, allocations: 4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4162, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.4162, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.4165, allocations: 59.88 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4166, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.4168, allocations: 43.95 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.4168, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 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 0.0001266/0.4169, allocations: 114.4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.417, allocations: 11.88 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.417, allocations: 12.36 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.417, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.417, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.417, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.419, allocations: 0.5424 MB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.419, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.4193, allocations: 56 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.4193, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.4193, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4193, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.4193, allocations: 3.984 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4204, allocations: 344.9 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.4204, allocations: 11.94 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4204, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.4207, allocations: 43.95 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.4207, allocations: 7.984 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.4208, allocations: 4.188 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.51e-05/0.4208, allocations: 99.14 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4208, allocations: 3.938 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003495/0.4212, allocations: 39.88 kB / 1.334 GB, free: 9.52 MB / 1.029 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.0003224/0.4215, allocations: 127.1 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.4225, allocations: 207.7 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4225, allocations: 0 / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.423, allocations: 108 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4232, allocations: 7.594 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4249, allocations: 431.9 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.425, allocations: 71.34 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.4251, allocations: 19.42 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.4251, allocations: 3.938 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of Templates: time 0.003717/0.4288, allocations: 1.447 MB / 1.337 GB, free: 7.047 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.404818319017068]