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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, 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.001271/0.001271, allocations: 190.8 kB / 16.14 MB, free: 6.645 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 461.8 MB / 0.7342 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 68.91 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3137, allocations: 157.4 MB / 1.052 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002099/0.3159, allocations: 0.7008 MB / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3182, allocations: 1.478 MB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.3183, allocations: 3.938 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.3183, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.3184, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.3189, allocations: 95.7 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.319, allocations: 27.91 kB / 1.054 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.319, allocations: 7.984 kB / 1.054 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.3191, allocations: 11.94 kB / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.3192, allocations: 23.91 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3192, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.3197, allocations: 311.4 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.3197, allocations: 11.92 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.3198, allocations: 19.88 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.3201, allocations: 183.9 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3201, allocations: 3.938 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.077e-06/0.3201, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3201, allocations: 3.938 kB / 1.055 GB, free: 5.211 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.0005643/0.3207, allocations: 379.4 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3207, allocations: 11.97 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.3208, allocations: 38.75 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.3212, allocations: 56.77 kB / 1.055 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3214, allocations: 168.4 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3214, allocations: 12.38 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3214, allocations: 384 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3217, allocations: 73.77 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3217, allocations: 3.938 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3217, allocations: 3.984 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3217, allocations: 4 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.3221, allocations: 71.92 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.3223, allocations: 173.6 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.3229, allocations: 126.5 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3231, allocations: 48.95 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3231, allocations: 0 / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3231, allocations: 38.44 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3231, allocations: 0 / 1.056 GB, free: 3.855 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.004159/0.3273, allocations: 0.7882 MB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3273, allocations: 55.41 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3274, allocations: 113.8 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3275, allocations: 25.7 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.3275, allocations: 88.14 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.3276, allocations: 27.55 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.3276, allocations: 33.64 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3278, allocations: 314.8 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.3282, allocations: 99.89 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.3286, allocations: 95.98 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.3294, allocations: 192.8 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3294, allocations: 7.875 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008732/0.3303, allocations: 245.3 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3303, allocations: 8 kB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3303, allocations: 0 / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3303, allocations: 0 / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.3307, allocations: 55.94 kB / 1.058 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3307, allocations: 3.938 kB / 1.058 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3309, allocations: 35.95 kB / 1.058 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3309, allocations: 8 kB / 1.058 GB, free: 1.625 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 8.433e-05/0.331, allocations: 109.8 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3311, allocations: 11.98 kB / 1.058 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.3311, allocations: 8.375 kB / 1.058 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3311, allocations: 4 kB / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3311, allocations: 0 / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3311, allocations: 0 / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3328, allocations: 0.5935 MB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3328, allocations: 4 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.3331, allocations: 55.94 kB / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3331, allocations: 4 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3331, allocations: 7.984 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3332, allocations: 4 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3332, allocations: 3.938 kB / 1.059 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.3341, allocations: 344.9 kB / 1.059 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.3341, allocations: 77.11 kB / 1.059 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3342, allocations: 8 kB / 1.059 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.3344, allocations: 35.95 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3345, allocations: 11.92 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3345, allocations: 4.375 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.3346, allocations: 91.66 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3346, allocations: 4 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002921/0.3349, allocations: 36 kB / 1.06 GB, free: 112 kB / 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.001301/0.3362, allocations: 0.9053 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009015/0.3371, allocations: 207.8 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3371, allocations: 0 / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.3376, allocations: 115.9 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3378, allocations: 7.938 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.3422, allocations: 2.126 MB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3424, allocations: 0.6926 MB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.3426, allocations: 24.98 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.3427, allocations: 31.41 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of SimCode: time 2.475e-06/0.3427, allocations: 0 / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.3555, allocations: 2.531 MB / 1.066 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.3558, allocations: 226.2 kB / 1.066 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.099, allocations: 0.625 kB / 1.066 GB, free: 9.211 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > 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/jenkins1/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