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.0009735/0.0009735, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.00121/0.00121, allocations: 168.5 kB / 24.87 MB, free: 9.227 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 0.9842/0.9842, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.889/1.889, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] 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.052e-06/1.052e-06, allocations: 0 / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.24e-05, allocations: 7.016 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001007/0.00102, allocations: 0.6415 MB / 0.8135 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.002371, allocations: 1.464 MB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.002396, allocations: 0 / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.00241, allocations: 4.812 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.002472, allocations: 0.7812 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.002766, allocations: 133 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.002817, allocations: 29.44 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.002852, allocations: 4 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.002901, allocations: 15.92 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.002949, allocations: 11.98 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.00296, allocations: 1.75 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.003215, allocations: 255.4 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.003233, allocations: 7.922 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.003248, allocations: 8 kB / 0.8154 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.003451, allocations: 200.2 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003454, allocations: 3.984 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003454, allocations: 0.75 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003458, allocations: 0 / 0.8155 GB, free: 14.63 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.0003847/0.003842, allocations: 398.1 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.003878, allocations: 8.031 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.004056, allocations: 51.41 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.004134, allocations: 124.5 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004145, allocations: 4.312 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.004159, allocations: 4.375 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.004275, allocations: 72.17 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004283, allocations: 4.703 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.00429, allocations: 2.031 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004295, allocations: 3.938 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.004328, allocations: 15.98 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.87e-05/0.004427, allocations: 105.2 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.004498, allocations: 59.59 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.004518, allocations: 12.28 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.004528, allocations: 4.781 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.004544, allocations: 33.39 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.004545, allocations: 1.156 kB / 0.8164 GB, free: 13.63 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.001012/0.005558, allocations: 392.7 kB / 0.8168 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.005584, allocations: 56 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.005647, allocations: 174.5 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.00566, allocations: 25.7 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.005692, allocations: 127.4 kB / 0.8172 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.005724, allocations: 37.06 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.005763, allocations: 31.36 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.005867, allocations: 0.4884 MB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.005902, allocations: 21.02 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.005935, allocations: 19.98 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.006001, allocations: 48.27 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.006002, allocations: 0.7188 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001203/0.006122, allocations: 93.28 kB / 0.8179 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.006132, allocations: 4 kB / 0.8179 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006135, allocations: 0 / 0.8179 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.006145, allocations: 8.688 kB / 0.8179 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.006258, allocations: 31.97 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.00626, allocations: 320 / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.006328, allocations: 29.44 kB / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.006335, allocations: 0.9375 kB / 0.8179 GB, free: 12.01 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 6.516e-05/0.0064, allocations: 160.6 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.006416, allocations: 9.109 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.006442, allocations: 8.438 kB / 0.8181 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.006447, allocations: 11.94 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006448, allocations: 1.125 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006451, allocations: 0 / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.006873, allocations: 416.3 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006874, allocations: 0.7188 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.00696, allocations: 37.81 kB / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.006963, allocations: 3.938 kB / 0.8186 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.006973, allocations: 11.98 kB / 0.8186 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006975, allocations: 2.844 kB / 0.8186 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.006977, allocations: 7.938 kB / 0.8186 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007125, allocations: 251.2 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.007136, allocations: 15.88 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007148, allocations: 0 / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.007229, allocations: 17.36 kB / 0.8189 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.007256, allocations: 11.98 kB / 0.8189 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.007264, allocations: 12.05 kB / 0.8189 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.007298, allocations: 131.2 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007298, allocations: 0 / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001809/0.007479, allocations: 39.81 kB / 0.819 GB, free: 10.82 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.0001127/0.007592, allocations: 127.2 kB / 0.8192 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.007713, allocations: 67.56 kB / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007714, allocations: 0 / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.007763, allocations: 47.67 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.007921, allocations: 19.86 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.008339, allocations: 269.4 kB / 0.8195 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.053e-05/0.008369, allocations: 59.34 kB / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.818e-05/0.008427, allocations: 29.33 kB / 0.8196 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.008505, allocations: 78.19 kB / 0.8197 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.008506, allocations: 0 / 0.8197 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of Templates: time 0.002976/0.01148, allocations: 1.991 MB / 0.8216 GB, free: 8.086 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.961359858047217]