Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_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.001326/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001273/0.001273, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.84 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5834, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001672/0.5851, allocations: 0.6908 MB / 0.9497 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.5865, allocations: 1.465 MB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.5865, allocations: 3.938 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.5866, allocations: 3.938 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.5866, allocations: 5.25 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.5869, allocations: 102.6 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.587, allocations: 19.27 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.587, allocations: 2.719 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.5871, allocations: 18.69 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.5871, allocations: 21.38 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.5872, allocations: 1.406 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.5875, allocations: 315.4 kB / 0.9516 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.5876, allocations: 9.219 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.5876, allocations: 14.52 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.5878, allocations: 184.2 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5878, allocations: 1.5 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5879, allocations: 0 / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.5879, allocations: 0 / 0.9518 GB, free: 6.957 MB / 0.7169 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.0003948/0.5883, allocations: 383 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5883, allocations: 9.438 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.5883, allocations: 40.3 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.5887, allocations: 59.52 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.5888, allocations: 180.6 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5888, allocations: 6 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.5888, allocations: 5.75 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.5891, allocations: 72.7 kB / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5891, allocations: 1.281 kB / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.5891, allocations: 0 / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5891, allocations: 0 / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.5895, allocations: 77.69 kB / 0.9526 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.5896, allocations: 163.6 kB / 0.9528 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.5901, allocations: 130.6 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.5903, allocations: 39.17 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5903, allocations: 4 kB / 0.953 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.5904, allocations: 35.94 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5904, allocations: 0 / 0.953 GB, free: 5.836 MB / 0.7169 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.003936/0.5943, allocations: 0.7841 MB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.5943, allocations: 53.72 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.5944, allocations: 121.3 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.5944, allocations: 31.17 kB / 0.954 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.5944, allocations: 85.52 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.5945, allocations: 30.33 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.5945, allocations: 26.33 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.5946, allocations: 317.3 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.595, allocations: 95.08 kB / 0.9545 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.5954, allocations: 105.8 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.5962, allocations: 191.2 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5962, allocations: 3.938 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008559/0.597, allocations: 238.2 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5971, allocations: 4.656 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5971, allocations: 1.188 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5971, allocations: 0 / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.5974, allocations: 58.69 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5974, allocations: 0.9688 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.5976, allocations: 33.36 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5977, allocations: 11.83 kB / 0.9551 GB, free: 4.484 MB / 0.7169 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 5.422e-05/0.5977, allocations: 119.1 kB / 0.9552 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.5978, allocations: 6.781 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.5978, allocations: 13.81 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5978, allocations: 1.594 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5978, allocations: 1.375 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5978, allocations: 0 / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5993, allocations: 0.5991 MB / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5993, allocations: 0 / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.5995, allocations: 56.06 kB / 0.9559 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5996, allocations: 0 / 0.9559 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.5996, allocations: 7.641 kB / 0.9559 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5996, allocations: 5.812 kB / 0.9559 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5996, allocations: 3.938 kB / 0.9559 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.6004, allocations: 340.2 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.6005, allocations: 82.2 kB / 0.9563 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.6005, allocations: 6.312 kB / 0.9563 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.6007, allocations: 37.2 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.6008, allocations: 13.36 kB / 0.9563 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6008, allocations: 3.781 kB / 0.9564 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.6008, allocations: 90.55 kB / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6008, allocations: 0 / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002826/0.6011, allocations: 48.55 kB / 0.9565 GB, free: 3.371 MB / 0.7169 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.001068/0.6022, allocations: 0.9007 MB / 0.9574 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008268/0.603, allocations: 208.3 kB / 0.9576 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6031, allocations: 0 / 0.9576 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.6035, allocations: 104.8 kB / 0.9577 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.6037, allocations: 23.53 kB / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.6077, allocations: 2.145 MB / 0.9598 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.906e-05/0.6078, allocations: 0.6837 MB / 0.9604 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.6079, allocations: 28.67 kB / 0.9605 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.608, allocations: 27.11 kB / 0.9605 GB, free: 44 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.608, allocations: 0 / 0.9605 GB, free: 44 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5846/1.193, allocations: 2.51 MB / 0.963 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/1.193, allocations: 212.3 kB / 0.9632 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.894, allocations: 0 / 0.9632 GB, free: 14.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches