Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_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.005026/0.005026, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001288/0.001288, allocations: 192.8 kB / 16.68 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7724, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001669/0.7741, allocations: 0.64 MB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.7759, allocations: 1.446 MB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.7759, allocations: 0 / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.776, allocations: 3.938 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.776, allocations: 3.938 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.7764, allocations: 127.5 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.7765, allocations: 27.91 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.7765, allocations: 0 / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.7766, allocations: 11.94 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.7766, allocations: 19.91 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.7767, allocations: 4 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.7771, allocations: 319.3 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.7772, allocations: 15.86 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.7772, allocations: 11.92 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.7775, allocations: 191.1 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7775, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7775, allocations: 4 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.7775, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 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.0005367/0.7781, allocations: 378.9 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7781, allocations: 12.03 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.7781, allocations: 34.75 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.7785, allocations: 60.81 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7787, allocations: 176.4 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7787, allocations: 4.312 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.7787, allocations: 4.375 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.779, allocations: 77.77 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.779, allocations: 3.953 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.779, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.779, allocations: 4 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.7794, allocations: 71.91 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.7795, allocations: 165.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.7801, allocations: 134.4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.7803, allocations: 40.95 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.7803, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7803, allocations: 38.5 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.7803, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 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.003997/0.7843, allocations: 0.7901 MB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.7844, allocations: 51.41 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.7845, allocations: 109.8 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.7845, allocations: 33.7 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.7846, allocations: 84.14 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.7846, allocations: 31.73 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.7847, allocations: 33.64 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7848, allocations: 310.8 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.7852, allocations: 96.08 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.7857, allocations: 111.9 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.7865, allocations: 192.6 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.7865, allocations: 7.922 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008868/0.7874, allocations: 237.5 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7874, allocations: 11.94 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7874, allocations: 0 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7874, allocations: 0 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.7877, allocations: 51.94 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7878, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.788, allocations: 31.95 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.788, allocations: 4 kB / 1.226 GB, free: 11.62 MB / 0.9512 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.531e-05/0.7881, allocations: 125.8 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.7881, allocations: 7.953 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.7882, allocations: 12.38 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7882, allocations: 0 / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7882, allocations: 0 / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7882, allocations: 0 / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7898, allocations: 0.6013 MB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7898, allocations: 0 / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.7901, allocations: 56 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7901, allocations: 0 / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.7901, allocations: 7.984 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7901, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.7901, allocations: 3.938 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009677/0.7911, allocations: 345.2 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.7912, allocations: 85.06 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.7912, allocations: 0 / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.7914, allocations: 39.95 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.7915, allocations: 15.86 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7915, allocations: 4 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.7916, allocations: 99.58 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7916, allocations: 4 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002726/0.7918, allocations: 39.86 kB / 1.228 GB, free: 10.07 MB / 0.9512 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.001335/0.7932, allocations: 0.8979 MB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.7941, allocations: 207.7 kB / 1.229 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.7941, allocations: 0 / 1.229 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.7946, allocations: 115.9 kB / 1.229 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.7948, allocations: 15.86 kB / 1.229 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.7995, allocations: 2.134 MB / 1.231 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.7997, allocations: 0.6846 MB / 1.232 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.377e-05/0.7999, allocations: 20.98 kB / 1.232 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.7999, allocations: 27.42 kB / 1.232 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.7999, allocations: 4 kB / 1.232 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9652/1.765, allocations: 2.746 MB / 1.234 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.76, allocations: 14.97 kB / 1.234 GB, free: 3.184 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches