Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 192.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6588, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001854/0.6607, allocations: 0.6993 MB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.6627, allocations: 1.474 MB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.6627, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.6627, allocations: 3.938 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.6628, allocations: 3.984 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.6631, allocations: 95.7 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.6632, allocations: 23.92 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.6632, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.6633, allocations: 19.92 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.6634, allocations: 11.92 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.6634, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.6639, allocations: 315.3 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.6639, allocations: 15.86 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.6639, allocations: 15.92 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.6642, allocations: 193.6 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6643, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6643, allocations: 0 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.6643, allocations: 4 kB / 1.019 GB, free: 15.9 MB / 0.7794 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.0006201/0.6649, allocations: 371.4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6649, allocations: 8.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.6653, allocations: 64.77 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.6655, allocations: 176.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.6656, allocations: 384 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.6656, allocations: 4.375 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.6659, allocations: 77.95 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6659, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.6659, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6659, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.6663, allocations: 75.75 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.6665, allocations: 169.6 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.6671, allocations: 122.5 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.6673, allocations: 44.94 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.6673, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.6673, allocations: 38.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.6674, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 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.004461/0.6718, allocations: 0.7823 MB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6719, allocations: 51.41 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.672, allocations: 117.8 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.672, allocations: 33.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.6721, allocations: 84.12 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.6721, allocations: 27.56 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.6722, allocations: 29.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6723, allocations: 318.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.6728, allocations: 92.09 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.6733, allocations: 111.9 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.6742, allocations: 192.7 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6742, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009648/0.6751, allocations: 249.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.6752, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6752, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6752, allocations: 3.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.6755, allocations: 51.95 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6756, allocations: 3.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.6758, allocations: 27.97 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.6759, allocations: 7.984 kB / 1.023 GB, free: 12.38 MB / 0.7794 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.0001097/0.676, allocations: 125.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.676, allocations: 3.906 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.6761, allocations: 12.38 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6761, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6761, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6761, allocations: 3.984 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.6779, allocations: 0.6013 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6779, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.6782, allocations: 56 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6782, allocations: 3.938 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.6782, allocations: 4 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6782, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6782, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.6792, allocations: 353.1 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.6793, allocations: 81.02 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.6794, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.6796, allocations: 35.95 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.6797, allocations: 15.92 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.6797, allocations: 7.984 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.637e-05/0.6798, allocations: 87.28 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6798, allocations: 3.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002965/0.6801, allocations: 51.92 kB / 1.024 GB, free: 10.84 MB / 0.7794 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.0002261/0.6803, allocations: 123.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009459/0.6813, allocations: 211.7 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6813, allocations: 0 / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.6818, allocations: 112 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.682, allocations: 9.562 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.6836, allocations: 412 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.684, allocations: 0.6926 MB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000117/0.6841, allocations: 20.61 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.6842, allocations: 19.42 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6842, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of Templates: time 0.004878/0.6891, allocations: 1.575 MB / 1.027 GB, free: 7.621 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches