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.006999/0.006999, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001865/0.001865, allocations: 189.8 kB / 16.67 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.712/2.712, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6636, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001629/0.6653, allocations: 0.6349 MB / 1.221 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.6671, allocations: 1.443 MB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.6671, allocations: 4 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.6672, allocations: 3.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.6672, allocations: 11.92 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.6676, allocations: 119.5 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.6677, allocations: 19.98 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.6677, allocations: 4 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.6678, allocations: 19.86 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.6678, allocations: 19.91 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.6678, allocations: 4 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.6683, allocations: 319.4 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.6684, allocations: 15.86 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.6684, allocations: 11.92 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.6687, allocations: 187.2 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6687, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6687, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6687, allocations: 0 / 1.223 GB, free: 15.23 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.000518/0.6693, allocations: 390.8 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.6693, allocations: 8.031 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.6693, allocations: 38.69 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.6697, allocations: 64.81 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.6699, allocations: 164.4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.6699, allocations: 4.375 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.6699, allocations: 8.375 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.6702, allocations: 77.77 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.6702, allocations: 3.953 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.6702, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.6702, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.6706, allocations: 75.91 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.6708, allocations: 165.7 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.6714, allocations: 126.4 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6716, allocations: 48.94 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.6716, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.6717, allocations: 34.5 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.6717, allocations: 0 / 1.224 GB, free: 13.88 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.004179/0.6758, allocations: 0.7896 MB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.6759, allocations: 51.41 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.676, allocations: 113.8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.676, allocations: 25.7 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.6761, allocations: 92.11 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.6761, allocations: 23.75 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.6762, allocations: 29.7 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6764, allocations: 322.8 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.6768, allocations: 95.91 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.6773, allocations: 99.92 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.6782, allocations: 196.6 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6782, allocations: 7.938 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009731/0.6792, allocations: 237.4 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6792, allocations: 11.98 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.6792, allocations: 0 / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.6792, allocations: 0 / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.6795, allocations: 55.94 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6795, allocations: 4.25 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.6798, allocations: 36.7 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.6798, allocations: 4 kB / 1.226 GB, free: 11.64 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.412e-05/0.6799, allocations: 113.8 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.6799, allocations: 7.953 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.68, allocations: 12.38 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.68, allocations: 7.938 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.68, allocations: 3.984 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.68, allocations: 7.984 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.6817, allocations: 0.5974 MB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6818, allocations: 4 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.682, allocations: 52 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.682, allocations: 4 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6821, allocations: 0 / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.6821, allocations: 4 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6821, allocations: 11.88 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.6831, allocations: 341.2 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.6832, allocations: 81.06 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.6832, allocations: 11.98 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.6835, allocations: 31.97 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.6835, allocations: 11.92 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.6835, allocations: 11.98 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.502e-05/0.6836, allocations: 87.28 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6836, allocations: 0 / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002892/0.6839, allocations: 43.86 kB / 1.228 GB, free: 10.1 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.00145/0.6854, allocations: 0.8979 MB / 1.228 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009642/0.6863, allocations: 207.7 kB / 1.229 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.6864, allocations: 4 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.6868, allocations: 108 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.6871, allocations: 17.91 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.692, allocations: 2.126 MB / 1.231 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6923, allocations: 0.6876 MB / 1.232 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.6924, allocations: 24.98 kB / 1.232 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.6925, allocations: 31.41 kB / 1.232 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.6925, allocations: 0 / 1.232 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.7148, allocations: 2.746 MB / 1.234 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/8.074, allocations: 7.688 kB / 1.234 GB, free: 3.223 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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