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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00107/0.00107, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001133/0.001133, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.06 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001807/0.3017, allocations: 0.6328 MB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3034, allocations: 1.452 MB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.3034, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.3034, allocations: 3.938 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.3035, allocations: 4 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.3039, allocations: 120 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.304, allocations: 31.89 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.304, allocations: 4 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.304, allocations: 15.92 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.3041, allocations: 19.92 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3041, allocations: 3.938 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.3046, allocations: 323.3 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.3046, allocations: 7.875 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.3046, allocations: 15.92 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.3049, allocations: 183.7 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3049, allocations: 4 kB / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3049, allocations: 3.938 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3049, allocations: 0 / 1.022 GB, free: 7 MB / 0.795 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.0005206/0.3055, allocations: 379.3 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3055, allocations: 8.031 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.3059, allocations: 64.77 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.306, allocations: 168.4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.306, allocations: 384 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3061, allocations: 12.38 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3063, allocations: 69.95 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3064, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3064, allocations: 3.938 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3064, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3067, allocations: 71.91 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.3069, allocations: 173.6 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.3074, allocations: 130.5 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3076, allocations: 36.95 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3076, allocations: 4 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3077, allocations: 42.44 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3077, allocations: 0 / 1.023 GB, free: 5.695 MB / 0.795 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.003928/0.3116, allocations: 0.7863 MB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3117, allocations: 51.41 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.3118, allocations: 121.8 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3118, allocations: 29.7 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.3118, allocations: 84.14 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3119, allocations: 31.55 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3119, allocations: 29.64 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.312, allocations: 314.8 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.3124, allocations: 99.89 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.3128, allocations: 103.9 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.3136, allocations: 184.7 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3136, allocations: 3.938 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000852/0.3145, allocations: 249.4 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3145, allocations: 4 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3145, allocations: 0 / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3146, allocations: 0 / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.3149, allocations: 59.92 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3149, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3151, allocations: 39.89 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3151, allocations: 0 / 1.025 GB, free: 3.469 MB / 0.795 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 9.015e-05/0.3152, allocations: 125.8 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3153, allocations: 7.906 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.3153, allocations: 12.38 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3153, allocations: 0 / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3153, allocations: 0 / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3154, allocations: 4 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3169, allocations: 0.5935 MB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.317, allocations: 0 / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.3172, allocations: 59.94 kB / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3172, allocations: 0 / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3173, allocations: 7.984 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3173, allocations: 0 / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3173, allocations: 288 / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.3182, allocations: 348.9 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.3182, allocations: 85.02 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3182, allocations: 0.5625 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3185, allocations: 39.95 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.3186, allocations: 15.92 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3186, allocations: 8 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.3186, allocations: 91.27 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3186, allocations: 0 / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003033/0.3189, allocations: 39.98 kB / 1.026 GB, free: 1.93 MB / 0.795 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.0002237/0.3192, allocations: 139.1 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008493/0.32, allocations: 207.7 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.32, allocations: 0 / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.3205, allocations: 104 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3207, allocations: 17.83 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3222, allocations: 402.3 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3224, allocations: 0.6807 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.495e-05/0.3225, allocations: 24.66 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.3226, allocations: 19.42 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3226, allocations: 0 / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of Templates: time 0.00434/0.327, allocations: 1.65 MB / 1.029 GB, free: 14.64 MB / 0.8106 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=480 -s gbode -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/jenkins1/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