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.001816/0.001816, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002182/0.002182, allocations: 209.8 kB / 23 MB, free: 4.934 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002039/0.002039, allocations: 67.41 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4596, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002207/0.4618, allocations: 0.6373 MB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.4642, allocations: 1.439 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.4643, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.4643, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.4644, allocations: 11.92 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.4649, allocations: 119.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.465, allocations: 35.91 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.001e-05/0.465, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.4651, allocations: 15.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.4652, allocations: 15.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4652, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.4656, allocations: 263.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.4657, allocations: 3.984 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.4657, allocations: 15.88 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.4661, allocations: 175.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.4661, allocations: 3.984 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4661, allocations: 4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4661, 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.0006727/0.4668, allocations: 305.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4668, allocations: 8.031 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.4672, allocations: 60.86 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.4674, allocations: 122.4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4674, allocations: 4.375 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4675, allocations: 4.375 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.4677, allocations: 77.95 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4678, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4678, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4678, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.4682, allocations: 75.86 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.4684, allocations: 113.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.4689, allocations: 122.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4691, allocations: 44.75 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.4691, allocations: 128 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4692, allocations: 38.56 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.4692, allocations: 0 / 1.331 GB, free: 13.13 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.004357/0.4735, allocations: 0.7886 MB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4736, allocations: 59.39 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4737, allocations: 113.8 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4737, allocations: 29.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.4738, allocations: 84.05 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.4739, allocations: 27.75 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.4739, allocations: 29.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4741, allocations: 318.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.4746, allocations: 99.83 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.475, allocations: 95.91 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.4758, allocations: 192.7 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4758, allocations: 0 / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009393/0.4767, allocations: 257.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4767, allocations: 8.094 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4767, allocations: 7.938 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.4768, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.4771, allocations: 47.94 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4771, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.4773, allocations: 35.95 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4774, allocations: 4 kB / 1.333 GB, free: 10.9 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.0001798/0.4775, allocations: 114.3 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.4776, allocations: 7.938 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.4776, allocations: 20.36 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4776, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4776, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.4777, allocations: 3.953 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4777, allocations: 8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.4779, allocations: 35.95 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.478, allocations: 7.984 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001219/0.4792, allocations: 364.6 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001097/0.4803, allocations: 414.5 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004171/0.4807, allocations: 99.89 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.782e-05/0.4808, allocations: 91.27 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of Backend: time 3.51e-07/0.4808, allocations: 8 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.4818, allocations: 231.2 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006595/0.4825, allocations: 0.5722 MB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of Templates: time 0.006276/0.4887, allocations: 2.54 MB / 1.337 GB, free: 6.332 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: 9.456862266000826]