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.001349/0.001349, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001516/0.001516, allocations: 208.3 kB / 22.99 MB, free: 4.965 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.277/3.277, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002152/0.002152, allocations: 68.22 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 176.1 MB / 1.326 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00179/0.3614, allocations: 0.6313 MB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3634, allocations: 1.436 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.3634, allocations: 3.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.3634, allocations: 11.88 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.3635, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.3639, allocations: 123.5 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.876e-05/0.364, allocations: 27.91 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.364, allocations: 3.984 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.3641, allocations: 15.94 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.3641, allocations: 11.92 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3641, allocations: 7.938 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.3646, allocations: 247.5 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3646, allocations: 11.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.3646, allocations: 7.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3649, allocations: 183.5 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3649, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3649, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3649, allocations: 0 / 1.329 GB, free: 15.06 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.0004971/0.3654, allocations: 301.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3654, allocations: 12.03 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.3658, allocations: 64.86 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3659, allocations: 122.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3659, allocations: 4.375 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.366, allocations: 4.312 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.3662, allocations: 81.95 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3662, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3663, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3663, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.3666, allocations: 71.86 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3668, allocations: 113.4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.3673, allocations: 122.4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3675, allocations: 44.94 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3675, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3675, allocations: 30.56 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3675, allocations: 0 / 1.33 GB, free: 13.99 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.00393/0.3715, allocations: 0.7935 MB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3715, allocations: 55.41 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3716, allocations: 109.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3716, allocations: 25.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.3717, allocations: 95.98 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.3717, allocations: 31.73 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.3718, allocations: 25.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.372, allocations: 314.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.3724, allocations: 99.89 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.3728, allocations: 95.91 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.3736, allocations: 192.6 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3736, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008874/0.3745, allocations: 249.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3745, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3745, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3745, allocations: 3.938 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.3748, allocations: 56.69 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3748, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.375, allocations: 35.95 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.375, allocations: 4 kB / 1.332 GB, free: 11.76 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.0001021/0.3751, allocations: 118.4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3752, allocations: 7.938 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.3752, allocations: 16.34 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3752, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3752, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3752, allocations: 288 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.3768, allocations: 0.5462 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3768, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3771, allocations: 55.94 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3771, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3771, allocations: 7.984 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3771, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3771, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.3781, allocations: 340.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.3781, allocations: 11.94 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3781, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3784, allocations: 43.95 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3784, allocations: 11.92 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3784, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.3785, allocations: 95.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3785, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002794/0.3788, allocations: 39.88 kB / 1.333 GB, free: 10.39 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.0002038/0.379, allocations: 127.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009111/0.3799, allocations: 203.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3799, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.3803, allocations: 112 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.3806, allocations: 7.984 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3821, allocations: 423.9 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.3822, allocations: 73.08 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.3823, allocations: 23.42 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3823, allocations: 0 / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of Templates: time 0.003422/0.3857, allocations: 1.457 MB / 1.336 GB, free: 7.91 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.485625479836017]