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.007963/0.007963, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001989/0.001989, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.12 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8075, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001688/0.8092, allocations: 0.6355 MB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.8112, allocations: 1.453 MB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.8112, allocations: 4 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.8112, allocations: 3.938 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.8113, allocations: 3.984 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.8117, allocations: 123.4 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.8118, allocations: 31.91 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.8118, allocations: 4 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.8118, allocations: 15.92 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.8119, allocations: 15.92 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.8119, allocations: 0 / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.8124, allocations: 319.3 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.8125, allocations: 11.92 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.8125, allocations: 19.88 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.8128, allocations: 187.2 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.8128, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8128, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.8129, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 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.0005349/0.8134, allocations: 382.9 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.8134, allocations: 12.92 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.8135, allocations: 30.75 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.8139, allocations: 64.81 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.814, allocations: 176.3 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.814, allocations: 4.375 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.8141, allocations: 384 / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.8144, allocations: 81.7 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8144, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.8144, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8144, allocations: 4 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.8148, allocations: 67.92 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.815, allocations: 177.7 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.8156, allocations: 118.5 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.8158, allocations: 52.88 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.8158, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.8159, allocations: 42.48 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.8159, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 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.004169/0.82, allocations: 0.7861 MB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.8201, allocations: 59.34 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.8202, allocations: 109.8 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.8202, allocations: 29.7 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.8203, allocations: 84.14 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.8203, allocations: 27.73 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.8204, allocations: 29.7 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8206, allocations: 314.8 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.821, allocations: 99.89 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.8215, allocations: 91.91 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.8224, allocations: 196.6 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8224, allocations: 3.938 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009741/0.8234, allocations: 241.7 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8234, allocations: 8 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8234, allocations: 96 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8234, allocations: 3.938 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.8238, allocations: 63.88 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.8238, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.824, allocations: 35.95 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.824, allocations: 4 kB / 1.172 GB, free: 13.34 MB / 0.9044 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 0.0001037/0.8241, allocations: 116 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.8242, allocations: 11.89 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.8242, allocations: 16.36 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8242, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8242, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.8242, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.826, allocations: 0.5974 MB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.826, allocations: 4 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.8263, allocations: 52 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8263, allocations: 4 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.8263, allocations: 0 / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.8263, allocations: 7.984 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8263, allocations: 3.938 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.8273, allocations: 341 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.8274, allocations: 85.05 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.8274, allocations: 4 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.8277, allocations: 35.95 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.8278, allocations: 15.92 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.8278, allocations: 4.375 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.801e-05/0.8279, allocations: 91.27 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8279, allocations: 7.938 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003202/0.8282, allocations: 39.88 kB / 1.174 GB, free: 11.8 MB / 0.9044 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.00146/0.8297, allocations: 0.8973 MB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009633/0.8306, allocations: 211.8 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8306, allocations: 0 / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.8311, allocations: 112 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.8314, allocations: 11.94 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.8363, allocations: 2.129 MB / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.8367, allocations: 0.6846 MB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.8368, allocations: 28.64 kB / 1.178 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.8369, allocations: 23.42 kB / 1.178 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of SimCode: time 2.415e-06/0.8369, allocations: 0 / 1.178 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.8602, allocations: 2.751 MB / 1.18 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.838, allocations: 5.359 kB / 1.18 GB, free: 4.926 MB / 0.9044 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