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.001414/0.001414, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001503/0.001503, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.879/2.879, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.237e-05, allocations: 4.062 kB / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001605/0.001627, allocations: 0.6365 MB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.003909, allocations: 1.429 MB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.003935, allocations: 0 / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.003949, allocations: 9.062 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.004022, allocations: 7.922 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.004473, allocations: 125.6 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.004536, allocations: 24.89 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.004567, allocations: 0 / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.004624, allocations: 19.92 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.004687, allocations: 24.64 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004701, allocations: 4 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.005147, allocations: 244.3 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.005166, allocations: 8 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.005192, allocations: 13.11 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.005521, allocations: 195.5 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005522, allocations: 0 / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005523, allocations: 0 / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.005526, allocations: 1.844 kB / 0.8135 GB, free: 15.29 MB / 0.7761 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.00053/0.006056, allocations: 301.8 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.006089, allocations: 13.16 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.006514, allocations: 68.16 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.006645, allocations: 113.7 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.006662, allocations: 4.375 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.006686, allocations: 5.844 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.006972, allocations: 71.55 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.006984, allocations: 192 / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.006993, allocations: 2.188 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.007, allocations: 3.938 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.007372, allocations: 74.91 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.007551, allocations: 121.2 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.008135, allocations: 123.9 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.008328, allocations: 39.17 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.008344, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.008383, allocations: 42.53 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.008384, allocations: 2.031 kB / 0.8145 GB, free: 14.24 MB / 0.7761 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.004379/0.01276, allocations: 0.7893 MB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.01281, allocations: 51.41 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.01292, allocations: 113.8 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01295, allocations: 29.7 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.013, allocations: 84.14 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.01306, allocations: 35.69 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.01312, allocations: 25.7 kB / 0.8156 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.01328, allocations: 314.8 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.01376, allocations: 100.1 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.01421, allocations: 103.8 kB / 0.8161 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008824/0.01509, allocations: 192.7 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01509, allocations: 0 / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009947/0.01608, allocations: 249.7 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.0161, allocations: 4 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01611, allocations: 3.938 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.01612, allocations: 4 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.01645, allocations: 51.94 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01645, allocations: 4 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.0167, allocations: 31.95 kB / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01671, allocations: 11.98 kB / 0.8166 GB, free: 12.03 MB / 0.7761 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.0001104/0.01682, allocations: 113.8 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.01686, allocations: 11.95 kB / 0.8167 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.01691, allocations: 16.38 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01691, allocations: 0 / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01691, allocations: 0 / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01691, allocations: 0 / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.01872, allocations: 0.5423 MB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01873, allocations: 0 / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.01902, allocations: 60 kB / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01902, allocations: 0 / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01904, allocations: 11.92 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01904, allocations: 0 / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01904, allocations: 0 / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.0201, allocations: 344.9 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.02011, allocations: 3.953 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.02014, allocations: 8 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.02041, allocations: 31.95 kB / 0.8177 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.02047, allocations: 11.98 kB / 0.8177 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.02048, allocations: 7.984 kB / 0.8177 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.02055, allocations: 87.28 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02055, allocations: 4 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003002/0.02085, allocations: 39.86 kB / 0.8178 GB, free: 10.68 MB / 0.7761 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.0002238/0.02107, allocations: 131.1 kB / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009678/0.02204, allocations: 211.7 kB / 0.8182 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02204, allocations: 0 / 0.8182 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.02253, allocations: 112 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.02278, allocations: 13.62 kB / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.02449, allocations: 409.8 kB / 0.8187 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.02457, allocations: 71.33 kB / 0.8187 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000108/0.02467, allocations: 24.72 kB / 0.8188 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.02475, allocations: 16.5 kB / 0.8188 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of SimCode: time 3.3e-07/0.02475, allocations: 0 / 0.8188 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of Templates: time 0.004946/0.0297, allocations: 1.784 MB / 0.8205 GB, free: 7.891 MB / 0.7761 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/jenkins/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: 7.744675983907655]