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.001144/0.001144, 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.001158/0.001158, allocations: 198.1 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.473/2.473, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7777, allocations: 140.4 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001792/0.7795, allocations: 0.7017 MB / 0.9496 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.7812, allocations: 1.468 MB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.7813, allocations: 0 / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.7813, allocations: 1.344 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.7814, allocations: 3.984 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.7818, allocations: 98.44 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.755e-05/0.7819, allocations: 23.86 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.7819, allocations: 2.562 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.782, allocations: 17.33 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.782, allocations: 18.14 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.7821, allocations: 2.844 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.7825, allocations: 314.4 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.7825, allocations: 17.2 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.7825, allocations: 10.34 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.7828, allocations: 185.4 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7828, allocations: 0 / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7828, allocations: 0 / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.7829, allocations: 0 / 0.9517 GB, free: 7.117 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.0004504/0.7833, allocations: 391.8 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7834, allocations: 9.438 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.7838, allocations: 58.23 kB / 0.9521 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.7839, allocations: 176.9 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.7839, allocations: 1.594 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.7839, allocations: 3.219 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.7842, allocations: 80.61 kB / 0.9524 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.7842, allocations: 5.312 kB / 0.9524 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7842, allocations: 3.984 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.7842, allocations: 1.281 kB / 0.9524 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.7846, allocations: 69.11 kB / 0.9525 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.7848, allocations: 166.9 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.7853, allocations: 127.5 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.7855, allocations: 41.44 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.7855, allocations: 1.5 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.7856, allocations: 43.44 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.724e-06/0.7856, allocations: 3.984 kB / 0.9528 GB, free: 6.027 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.004281/0.7899, allocations: 0.7785 MB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.7899, allocations: 52.84 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.79, allocations: 109.2 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.79, allocations: 33.69 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.7901, allocations: 90.2 kB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.7901, allocations: 27.22 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.7902, allocations: 29.33 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.7902, allocations: 316.9 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.7907, allocations: 96.48 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.7911, allocations: 101.8 kB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008314/0.7919, allocations: 194.9 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.7919, allocations: 0 / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00091/0.7929, allocations: 250.7 kB / 0.9548 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7929, allocations: 4.281 kB / 0.9548 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7929, allocations: 5.219 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7929, allocations: 0 / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.7932, allocations: 51.06 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7933, allocations: 9.75 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.7935, allocations: 31.67 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.7935, allocations: 3.656 kB / 0.9549 GB, free: 4.684 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 7.087e-05/0.7936, allocations: 119.6 kB / 0.9551 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.7936, allocations: 7.438 kB / 0.9551 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.7937, allocations: 14.14 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7937, allocations: 1.844 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7937, allocations: 0 / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7937, allocations: 0 / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.7953, allocations: 0.5989 MB / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7954, allocations: 1.062 kB / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.7956, allocations: 58.31 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.7957, allocations: 1.344 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.7957, allocations: 2.594 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7957, allocations: 1.188 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7957, allocations: 1.469 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.7966, allocations: 343.9 kB / 0.9561 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.7966, allocations: 86.59 kB / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.7967, allocations: 1.688 kB / 0.9561 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.7969, allocations: 42.27 kB / 0.9562 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.797, allocations: 11.89 kB / 0.9562 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.797, allocations: 8.25 kB / 0.9562 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.797, allocations: 92.14 kB / 0.9563 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7971, allocations: 0 / 0.9563 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003274/0.7974, allocations: 39.5 kB / 0.9563 GB, free: 3.574 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.0002212/0.7976, allocations: 135 kB / 0.9565 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009461/0.7986, allocations: 204.4 kB / 0.9566 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7986, allocations: 3.938 kB / 0.9566 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.799, allocations: 112.6 kB / 0.9568 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.7993, allocations: 8.297 kB / 0.9568 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.8008, allocations: 416.3 kB / 0.9572 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.8009, allocations: 0.6875 MB / 0.9578 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.8011, allocations: 21.45 kB / 0.9579 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.8012, allocations: 19.39 kB / 0.9579 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.8012, allocations: 0 / 0.9579 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.004094/0.8053, allocations: 1.573 MB / 0.9594 GB, free: 1.535 MB / 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