Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001567/0.001567, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001835/0.001835, allocations: 190.5 kB / 16.14 MB, free: 6.648 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.95 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001971/0.3226, allocations: 0.697 MB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3244, allocations: 1.481 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.3244, allocations: 7.938 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.3244, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.3245, allocations: 4 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3249, allocations: 93.33 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.325, allocations: 23.92 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.325, allocations: 11.98 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.3251, allocations: 7.938 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.3252, allocations: 27.89 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3252, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.3256, allocations: 307.4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.3257, allocations: 15.91 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.3257, allocations: 11.88 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.326, allocations: 191.9 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.326, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.326, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.326, allocations: 4 kB / 1.055 GB, free: 5.973 MB / 0.8106 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.0005464/0.3266, allocations: 375.4 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3266, allocations: 12.03 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.327, allocations: 60.77 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3272, allocations: 168.4 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3272, allocations: 8.359 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.3272, allocations: 384 / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.3275, allocations: 81.95 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3275, allocations: 3.938 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3276, allocations: 4 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3276, allocations: 0 / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.3279, allocations: 75.86 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.3281, allocations: 169.6 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.3287, allocations: 122.5 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.3288, allocations: 44.94 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3289, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3289, allocations: 34.5 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3289, allocations: 4 kB / 1.056 GB, free: 4.672 MB / 0.8106 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.004146/0.3331, allocations: 0.7895 MB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3331, allocations: 55.39 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3332, allocations: 113.8 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3333, allocations: 25.7 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.3333, allocations: 88.14 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.3334, allocations: 27.56 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.3334, allocations: 33.64 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3336, allocations: 318.8 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.334, allocations: 99.83 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.3344, allocations: 91.91 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.3352, allocations: 197 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3353, allocations: 0 / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008883/0.3361, allocations: 245.3 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3362, allocations: 9.094 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3362, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3362, allocations: 4 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.3366, allocations: 51.94 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3366, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3368, allocations: 39.95 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3368, allocations: 4.75 kB / 1.058 GB, free: 2.445 MB / 0.8106 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.0001239/0.337, allocations: 123.2 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.337, allocations: 3.906 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.3371, allocations: 20.36 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3371, allocations: 3.984 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3371, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3371, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3389, allocations: 0.5977 MB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3389, allocations: 8 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.3392, allocations: 51.88 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3392, allocations: 8.062 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3392, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3392, allocations: 4 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3392, allocations: 0 / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009485/0.3402, allocations: 349 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.3402, allocations: 85 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3403, allocations: 4 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.3405, allocations: 35.95 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.3406, allocations: 11.92 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3406, allocations: 8 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.843e-05/0.3407, allocations: 95.2 kB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 0 / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002871/0.341, allocations: 32 kB / 1.06 GB, free: 0.9062 MB / 0.8106 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.0002223/0.3412, allocations: 127.2 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.3421, allocations: 215.8 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3421, allocations: 0 / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.3425, allocations: 108 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3428, allocations: 8.859 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3443, allocations: 418.1 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3446, allocations: 0.6887 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.3447, allocations: 20.67 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.3447, allocations: 19.42 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3448, allocations: 0 / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.004054/0.3488, allocations: 1.575 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches