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.001146/0.001146, allocations: 109.3 kB / 16.27 MB, free: 5.984 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.001198/0.001199, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.462/2.462, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.73 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2852, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002161/0.2874, allocations: 0.6313 MB / 1.019 GB, free: 9.984 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2894, allocations: 1.456 MB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.2895, allocations: 0 / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.2896, allocations: 3.938 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.2896, allocations: 7.938 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.2901, allocations: 115.5 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.2902, allocations: 27.97 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.2903, allocations: 7.984 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.2903, allocations: 11.94 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2904, allocations: 27.84 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2904, allocations: 4 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.2909, allocations: 311.4 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.291, allocations: 7.922 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.291, allocations: 11.94 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.2913, allocations: 187.9 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2913, allocations: 3.938 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2913, allocations: 0 / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2913, allocations: 0 / 1.021 GB, free: 7.797 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.0005339/0.2919, allocations: 383.3 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2919, allocations: 8.031 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.2923, allocations: 64.77 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.2925, allocations: 172.3 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2925, allocations: 8.344 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2925, allocations: 4.375 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.2928, allocations: 77.95 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2928, allocations: 0 / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2929, allocations: 4 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2929, allocations: 0 / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.2932, allocations: 71.92 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.2934, allocations: 173.6 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.294, allocations: 122.4 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2942, allocations: 44.94 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2942, allocations: 4 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2942, allocations: 34.5 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.2943, allocations: 0 / 1.022 GB, free: 6.488 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.004187/0.2984, allocations: 0.7945 MB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2985, allocations: 59.39 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.2986, allocations: 109.8 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.2986, allocations: 25.7 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.2987, allocations: 84.14 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.2987, allocations: 27.56 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.2988, allocations: 25.7 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2989, allocations: 326.8 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.2994, allocations: 95.89 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.2998, allocations: 91.91 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.3006, allocations: 204.5 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3006, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008917/0.3015, allocations: 241.5 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3016, allocations: 4 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3016, allocations: 4.375 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3016, allocations: 4 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.3019, allocations: 51.94 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3019, allocations: 4 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.3022, allocations: 43.89 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3022, allocations: 4 kB / 1.024 GB, free: 4.254 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.145e-05/0.3023, allocations: 113.8 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.3023, allocations: 7.906 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.3024, allocations: 12.36 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3024, allocations: 4 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3024, allocations: 4 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3024, allocations: 0 / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.3041, allocations: 0.5935 MB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3041, allocations: 4.031 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3044, allocations: 51.94 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3044, allocations: 4 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3044, allocations: 4 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3044, allocations: 8 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3044, allocations: 0 / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.3054, allocations: 332.9 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3054, allocations: 97 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3055, allocations: 0 / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3057, allocations: 35.95 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.3058, allocations: 19.86 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3058, allocations: 8 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.3059, allocations: 91.66 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 0 / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003122/0.3062, allocations: 36 kB / 1.025 GB, free: 2.73 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.0002426/0.3064, allocations: 131.2 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009571/0.3074, allocations: 215.7 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3074, allocations: 0 / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.3079, allocations: 108.2 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.3081, allocations: 9.547 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3097, allocations: 428.5 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.31, allocations: 0.6846 MB / 1.027 GB, free: 1.102 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.3101, allocations: 23.42 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3101, allocations: 3.938 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of Templates: time 0.003226/0.3133, allocations: 1.437 MB / 1.028 GB, free: 15.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 -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