Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001011/0.001011, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008114/0.008114, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.632/2.632, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/0.8666, allocations: 142.4 MB / 0.955 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008847/0.8675, allocations: 373.8 kB / 0.9554 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.8695, allocations: 1.45 MB / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.8696, allocations: 0 / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.8696, allocations: 0 / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.8697, allocations: 0.875 kB / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.8702, allocations: 102.5 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.8703, allocations: 31.38 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.8704, allocations: 3.281 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.8704, allocations: 13.11 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.8705, allocations: 22.31 kB / 0.957 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.8705, allocations: 1.219 kB / 0.957 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.8711, allocations: 315.3 kB / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.8711, allocations: 13.64 kB / 0.9573 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.8711, allocations: 48.22 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.8714, allocations: 184 kB / 0.9575 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8714, allocations: 0 / 0.9575 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8715, allocations: 1.312 kB / 0.9575 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8715, allocations: 0 / 0.9575 GB, free: 5.887 MB / 0.7169 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.0004643/0.8719, allocations: 369.9 kB / 0.9579 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.872, allocations: 10.88 kB / 0.9579 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.8724, allocations: 75.52 kB / 0.958 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.8726, allocations: 176.3 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.8726, allocations: 1.75 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.8727, allocations: 9.734 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.873, allocations: 87.48 kB / 0.9582 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.873, allocations: 0.9062 kB / 0.9582 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.873, allocations: 3.938 kB / 0.9582 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.873, allocations: 0.8125 kB / 0.9582 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.8734, allocations: 81.98 kB / 0.9583 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.8737, allocations: 174.3 kB / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.8742, allocations: 145.6 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.8744, allocations: 48.5 kB / 0.9586 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.8745, allocations: 1.156 kB / 0.9587 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.8745, allocations: 43.41 kB / 0.9587 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.8745, allocations: 0 / 0.9587 GB, free: 4.801 MB / 0.7169 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.004537/0.8791, allocations: 0.9459 MB / 0.9596 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.8791, allocations: 52.34 kB / 0.9597 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.8792, allocations: 113.8 kB / 0.9598 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.8793, allocations: 26.64 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.8793, allocations: 93.16 kB / 0.9599 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.8793, allocations: 27.56 kB / 0.9599 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.8794, allocations: 12.06 kB / 0.9599 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.8795, allocations: 320.7 kB / 0.9602 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.8799, allocations: 118.5 kB / 0.9603 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.8804, allocations: 123 kB / 0.9605 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008879/0.8813, allocations: 236.3 kB / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.8813, allocations: 0 / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009768/0.8823, allocations: 287.1 kB / 0.961 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8823, allocations: 5.125 kB / 0.961 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8823, allocations: 0 / 0.961 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.8824, allocations: 5 kB / 0.961 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.8827, allocations: 63.66 kB / 0.961 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8827, allocations: 4.781 kB / 0.961 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.883, allocations: 50.52 kB / 0.9611 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.883, allocations: 7.016 kB / 0.9611 GB, free: 3.418 MB / 0.7169 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 8.499e-05/0.8831, allocations: 116.7 kB / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.8831, allocations: 6.094 kB / 0.9612 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.8832, allocations: 10.12 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8832, allocations: 0.7188 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.8832, allocations: 0.75 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8832, allocations: 0.75 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.885, allocations: 0.6601 MB / 0.9619 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.885, allocations: 1.5 kB / 0.9619 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.8853, allocations: 67.38 kB / 0.9619 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8853, allocations: 0.9688 kB / 0.9619 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.8853, allocations: 11.73 kB / 0.9619 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8853, allocations: 0.9688 kB / 0.9619 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8853, allocations: 1.156 kB / 0.9619 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.8863, allocations: 387.8 kB / 0.9623 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.8864, allocations: 91.27 kB / 0.9624 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.8864, allocations: 2.312 kB / 0.9624 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.8867, allocations: 50.23 kB / 0.9625 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.8867, allocations: 16.72 kB / 0.9625 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.8867, allocations: 11.64 kB / 0.9625 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.8868, allocations: 87.91 kB / 0.9626 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8868, allocations: 0 / 0.9626 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003389/0.8871, allocations: 41.3 kB / 0.9626 GB, free: 2.285 MB / 0.7169 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.0002399/0.8874, allocations: 136.1 kB / 0.9627 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.8884, allocations: 247.9 kB / 0.963 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8884, allocations: 0 / 0.963 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.8889, allocations: 131 kB / 0.9631 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.8892, allocations: 8.406 kB / 0.9631 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.8909, allocations: 487.8 kB / 0.9636 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.891, allocations: 0.6881 MB / 0.9642 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000122/0.8912, allocations: 20.28 kB / 0.9643 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.8912, allocations: 19.61 kB / 0.9643 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8913, allocations: 0 / 0.9643 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.004688/0.896, allocations: 1.58 MB / 0.9658 GB, free: 236 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches