Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 106.8 kB / 18.88 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 201.1 kB / 22.17 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003061/0.003061, allocations: 67.89 kB / 1.109 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.798, allocations: 168.7 MB / 1.274 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001837/0.7998, allocations: 0.6482 MB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.8019, allocations: 1.466 MB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.8019, allocations: 0 / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.8019, allocations: 0 / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.802, allocations: 7.938 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.8024, allocations: 123.5 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.8025, allocations: 19.98 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.8025, allocations: 15.92 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.8026, allocations: 11.92 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.8026, allocations: 27.91 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.8027, allocations: 0 / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.8032, allocations: 311.4 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.8032, allocations: 15.91 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.8032, allocations: 7.938 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.8035, allocations: 190.1 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8035, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8035, allocations: 3.938 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.8035, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 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.0005809/0.8041, allocations: 386.9 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.8042, allocations: 12.03 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.8046, allocations: 60.81 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.8047, allocations: 176.3 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.8047, allocations: 4.375 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.8048, allocations: 384 / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.805, allocations: 73.77 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8051, allocations: 4 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.8051, allocations: 0 / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.8051, allocations: 4 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.8055, allocations: 75.86 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.8057, allocations: 169.7 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.8063, allocations: 122.5 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.8065, allocations: 44.94 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.8065, allocations: 4 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.8065, allocations: 34.5 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.8065, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 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.004398/0.8109, allocations: 0.7959 MB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.811, allocations: 55.5 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.8111, allocations: 117.8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.8111, allocations: 25.7 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.8111, allocations: 84.14 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.8112, allocations: 31.73 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.8112, allocations: 25.7 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8114, allocations: 322.8 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.8119, allocations: 95.89 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.8123, allocations: 95.84 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.8132, allocations: 192.7 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.8132, allocations: 7.938 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000976/0.8141, allocations: 242.1 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8142, allocations: 4 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8142, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.8142, allocations: 4 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.8145, allocations: 51.94 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8145, allocations: 7.938 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.8148, allocations: 35.95 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.8148, allocations: 8 kB / 1.28 GB, free: 14.09 MB / 0.9825 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.0001004/0.8149, allocations: 117.7 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.8149, allocations: 7.953 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.815, allocations: 16.36 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.815, allocations: 4.281 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.815, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.815, allocations: 4 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.8168, allocations: 0.5935 MB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8168, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.817, allocations: 56 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.817, allocations: 0 / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8171, allocations: 4 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8171, allocations: 7.922 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8171, allocations: 7.938 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.8181, allocations: 337.4 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.8181, allocations: 89.05 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.8182, allocations: 8 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.8184, allocations: 35.95 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.8185, allocations: 11.92 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.8185, allocations: 4 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.8185, allocations: 99.25 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8185, allocations: 0 / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003013/0.8188, allocations: 35.94 kB / 1.281 GB, free: 12.55 MB / 0.9825 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.0002305/0.8191, allocations: 127.6 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.8201, allocations: 211.7 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8201, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.8206, allocations: 104 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.8208, allocations: 13.97 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.8225, allocations: 431.6 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.8228, allocations: 0.6885 MB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.8229, allocations: 24.88 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.823, allocations: 15.44 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.823, allocations: 0 / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.004844/0.8278, allocations: 1.695 MB / 1.285 GB, free: 9.191 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.814593160990626]