Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_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.001497/0.001497, 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.001745/0.001745, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5654, allocations: 151.6 MB / 1.017 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001926/0.5674, allocations: 0.6249 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.5692, allocations: 1.458 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.5693, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.5693, allocations: 3.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.5694, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.5698, allocations: 127.5 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.5699, allocations: 23.92 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.57, allocations: 3.984 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.57, allocations: 11.94 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.5701, allocations: 19.91 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.5701, allocations: 4 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.5705, allocations: 315.4 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.5706, allocations: 11.81 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.5706, allocations: 11.94 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.5709, allocations: 189.9 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 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.0005728/0.5715, allocations: 383.2 kB / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5715, allocations: 12.03 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.5716, allocations: 34.75 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/0.5719, allocations: 56.86 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.5721, allocations: 180.2 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5721, allocations: 4.375 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.5722, allocations: 384 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.5724, allocations: 81.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5725, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5725, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5725, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.5728, allocations: 71.92 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.573, allocations: 173.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.5736, allocations: 122.5 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.5738, allocations: 52.89 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5738, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5738, allocations: 34.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.5738, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 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.00405/0.5779, allocations: 0.7908 MB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.5779, allocations: 55.34 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.578, allocations: 113.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5781, allocations: 29.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.5781, allocations: 84.14 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.5782, allocations: 31.55 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.5782, allocations: 29.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5783, allocations: 310.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.5788, allocations: 99.89 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.5792, allocations: 99.89 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.5801, allocations: 184.7 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5801, allocations: 11.88 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009242/0.581, allocations: 237.5 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5811, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5811, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5811, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.5814, allocations: 64.19 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5814, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.5816, allocations: 35.95 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.5817, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 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.348e-05/0.5818, allocations: 125.7 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.5818, allocations: 3.906 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.5818, allocations: 12.38 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5818, allocations: 0 / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5819, allocations: 0 / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5819, allocations: 0 / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.5835, allocations: 0.6051 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5835, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.5838, allocations: 60.73 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5838, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5838, allocations: 7.984 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5838, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5838, allocations: 3.938 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.5848, allocations: 341 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.5848, allocations: 81.02 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5849, allocations: 12 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5851, allocations: 35.95 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.5852, allocations: 11.92 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.5852, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.5852, allocations: 99.25 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5852, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002838/0.5855, allocations: 39.94 kB / 1.025 GB, free: 10.67 MB / 0.7794 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.001279/0.5868, allocations: 0.9013 MB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009301/0.5878, allocations: 207.9 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5878, allocations: 0 / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.5882, allocations: 116.1 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5885, allocations: 19.8 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.5932, allocations: 2.119 MB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.5934, allocations: 0.6934 MB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.5935, allocations: 16.67 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.5936, allocations: 35.34 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.5936, allocations: 0 / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.6127, allocations: 2.698 MB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.75, allocations: 7.25 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches