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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 0.6647 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5884, allocations: 140.4 MB / 0.9497 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001714/0.5901, allocations: 0.6289 MB / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.5916, allocations: 1.448 MB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.5916, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.5916, allocations: 1.25 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.5917, allocations: 11.92 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.5921, allocations: 121.8 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.5922, allocations: 28.73 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.5922, allocations: 3.031 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.5923, allocations: 13.52 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.5923, allocations: 25.44 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.5923, allocations: 2.469 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.5927, allocations: 316.6 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.5928, allocations: 5.453 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.5928, allocations: 21.23 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.593, allocations: 185.3 kB / 0.9525 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5931, allocations: 0 / 0.9525 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5931, allocations: 1.406 kB / 0.9525 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5931, allocations: 0 / 0.9525 GB, free: 6.949 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.0004159/0.5935, allocations: 382.6 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5935, allocations: 9.5 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.5936, allocations: 36 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.5939, allocations: 58.89 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.665e-05/0.594, allocations: 173.2 kB / 0.9531 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.594, allocations: 1.844 kB / 0.9531 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.5941, allocations: 5.703 kB / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.5943, allocations: 81.95 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5943, allocations: 3.938 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5943, allocations: 3.938 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5944, allocations: 1.156 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.5947, allocations: 73.83 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.5948, allocations: 167.2 kB / 0.9534 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.5954, allocations: 121.8 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.5956, allocations: 46.88 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5956, allocations: 1.25 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.5956, allocations: 43.72 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.5956, allocations: 0 / 0.9536 GB, free: 5.824 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.003947/0.5996, allocations: 0.7809 MB / 0.9544 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5996, allocations: 57.86 kB / 0.9544 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.5997, allocations: 113.1 kB / 0.9545 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5997, allocations: 30.83 kB / 0.9546 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.5997, allocations: 81.14 kB / 0.9546 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.5998, allocations: 31.05 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.5998, allocations: 33.92 kB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.5999, allocations: 321.2 kB / 0.955 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.6003, allocations: 95.64 kB / 0.9551 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.6007, allocations: 93.28 kB / 0.9552 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.6015, allocations: 195.4 kB / 0.9554 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6016, allocations: 3.938 kB / 0.9554 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008538/0.6024, allocations: 247.2 kB / 0.9556 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6024, allocations: 4.188 kB / 0.9556 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6024, allocations: 1.156 kB / 0.9556 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.6025, allocations: 0 / 0.9556 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.6028, allocations: 54.81 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6028, allocations: 2.312 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.603, allocations: 40.42 kB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.603, allocations: 2.562 kB / 0.9557 GB, free: 4.48 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.461e-05/0.6031, allocations: 117.4 kB / 0.9558 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.6031, allocations: 9.172 kB / 0.9558 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.6031, allocations: 15.05 kB / 0.9559 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6031, allocations: 0 / 0.9559 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6032, allocations: 5.5 kB / 0.9559 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.6032, allocations: 4.688 kB / 0.9559 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.6047, allocations: 0.5991 MB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6047, allocations: 0 / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.6049, allocations: 55.06 kB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6049, allocations: 1.625 kB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.605, allocations: 11.25 kB / 0.9565 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.605, allocations: 2.094 kB / 0.9565 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.605, allocations: 3.938 kB / 0.9565 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.6058, allocations: 339.3 kB / 0.9568 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.6059, allocations: 88.34 kB / 0.9569 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.6059, allocations: 1.5 kB / 0.9569 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.6061, allocations: 37.73 kB / 0.957 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.6062, allocations: 15.83 kB / 0.957 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.6062, allocations: 4.469 kB / 0.957 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.6062, allocations: 95.09 kB / 0.9571 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6062, allocations: 0 / 0.9571 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002782/0.6065, allocations: 43.16 kB / 0.9571 GB, free: 3.355 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.001084/0.6076, allocations: 0.8982 MB / 0.958 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008453/0.6085, allocations: 216.6 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6085, allocations: 0 / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.6089, allocations: 105.4 kB / 0.9583 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6092, allocations: 11.88 kB / 0.9583 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.6133, allocations: 2.131 MB / 0.9604 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.6135, allocations: 0.6906 MB / 0.9611 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000109/0.6136, allocations: 16.98 kB / 0.9611 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.6136, allocations: 26.67 kB / 0.9611 GB, free: 56 kB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.6137, allocations: 4 kB / 0.9611 GB, free: 52 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.6311, allocations: 2.696 MB / 0.9638 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.893, allocations: 6.719 kB / 0.9638 GB, free: 14.62 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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