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.001489/0.00149, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001737/0.001738, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.376/2.376, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6581, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001636/0.6598, allocations: 0.6957 MB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.6613, allocations: 1.454 MB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.6613, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.6614, allocations: 3.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.6614, allocations: 3.984 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.6618, allocations: 103.7 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.6618, allocations: 23.92 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.6619, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.6619, allocations: 19.92 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.662, allocations: 19.91 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.662, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.6624, allocations: 315.4 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.6624, allocations: 11.92 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.6624, allocations: 19.86 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.6627, allocations: 185.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6627, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6627, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6627, allocations: 0 / 1.02 GB, free: 15.84 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.000457/0.6632, allocations: 379.3 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6632, allocations: 16.03 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.6632, allocations: 30.75 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.6636, allocations: 56.77 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.6637, allocations: 176.3 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.6637, allocations: 4.375 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.6638, allocations: 384 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.664, allocations: 73.77 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.664, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.664, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6641, allocations: 19.97 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.6644, allocations: 67.86 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.6646, allocations: 173.6 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.6651, allocations: 118.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.6653, allocations: 48.94 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.6653, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.6653, allocations: 38.44 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.6653, allocations: 0 / 1.021 GB, free: 14.49 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.003828/0.6691, allocations: 0.7817 MB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.6692, allocations: 59.41 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.6693, allocations: 109.8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.6693, allocations: 25.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.6693, allocations: 92.12 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.6694, allocations: 31.55 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.6694, allocations: 25.7 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.6695, allocations: 318.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.67, allocations: 103.8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.6703, allocations: 95.91 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.6711, allocations: 188.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6711, allocations: 3.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00082/0.6719, allocations: 237.7 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6719, allocations: 15.92 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.672, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.672, allocations: 96 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.6723, allocations: 59.88 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6723, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.6725, allocations: 39.95 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.6725, allocations: 4 kB / 1.023 GB, free: 12.26 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.363e-05/0.6726, allocations: 122.2 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.6726, allocations: 3.906 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.6727, allocations: 12.38 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6727, allocations: 3.984 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6727, allocations: 0.75 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.6727, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.6742, allocations: 0.6016 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6742, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.6745, allocations: 59.94 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6745, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6745, allocations: 12 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6745, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6745, allocations: 3.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.6754, allocations: 337 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.6754, allocations: 85.02 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.6755, allocations: 7.984 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.6757, allocations: 35.95 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.6758, allocations: 7.938 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6758, allocations: 11.98 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.6758, allocations: 95.27 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6758, allocations: 0 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002723/0.6761, allocations: 39.94 kB / 1.024 GB, free: 10.73 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.001204/0.6773, allocations: 0.8974 MB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008408/0.6782, allocations: 215.8 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6782, allocations: 0 / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.6786, allocations: 116 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.6789, allocations: 12.19 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.683, allocations: 2.143 MB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.6833, allocations: 0.6846 MB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.6834, allocations: 24.66 kB / 1.028 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.6835, allocations: 23.42 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6835, allocations: 0 / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.7053, allocations: 2.623 MB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.7056, allocations: 211.2 kB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.335, allocations: 0 / 1.031 GB, free: 3.734 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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