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.008625/0.008625, allocations: 96.72 kB / 15.73 MB, free: 6 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.002549/0.002549, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.28 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3529, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002184/0.3551, allocations: 0.631 MB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.3575, allocations: 1.452 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.3576, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.3576, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.3577, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.3584, allocations: 123.5 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.3585, allocations: 27.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.3586, allocations: 4 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.3586, allocations: 15.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.3587, allocations: 23.91 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3587, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.3593, allocations: 319.3 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.3594, allocations: 11.94 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.3594, allocations: 11.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.3599, allocations: 183.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3599, allocations: 7.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3599, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3599, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 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.0006571/0.3606, allocations: 375 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3606, allocations: 8.031 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.3607, allocations: 34.73 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.3611, allocations: 64.81 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.3613, allocations: 172.3 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3613, allocations: 4.312 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.3613, allocations: 4.375 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.3616, allocations: 73.77 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3617, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3617, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3617, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.3621, allocations: 75.91 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.3623, allocations: 173.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.3629, allocations: 130.4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.3631, allocations: 36.95 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3631, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3631, allocations: 46.48 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3631, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 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.004513/0.3677, allocations: 0.7818 MB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3677, allocations: 55.41 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3679, allocations: 113.8 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3679, allocations: 25.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.368, allocations: 88.14 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.3681, allocations: 35.69 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.3682, allocations: 25.7 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3683, allocations: 322.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.3688, allocations: 91.91 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.3692, allocations: 103.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.3702, allocations: 196.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3702, allocations: 4.688 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001008/0.3712, allocations: 229.5 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3712, allocations: 11.94 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.3713, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.3713, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.3717, allocations: 47.94 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3717, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3719, allocations: 43.95 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.372, allocations: 7.984 kB / 1.094 GB, free: 11.53 MB / 0.8575 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.000142/0.3721, allocations: 118.2 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3721, allocations: 7.953 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.3722, allocations: 8.375 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3722, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3722, allocations: 3.938 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3723, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.3743, allocations: 0.6013 MB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3743, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.3746, allocations: 52.02 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.3746, allocations: 3.984 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3746, allocations: 8 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3747, allocations: 400 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.3747, allocations: 7.938 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3758, allocations: 337 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.3759, allocations: 81.11 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.376, allocations: 4 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.3762, allocations: 39.95 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.3763, allocations: 15.86 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.3764, allocations: 11.98 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.223e-05/0.3764, allocations: 91.27 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3765, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003717/0.3768, allocations: 39.86 kB / 1.095 GB, free: 9.996 MB / 0.8575 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.001836/0.3787, allocations: 0.909 MB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.3798, allocations: 215.7 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3798, allocations: 0 / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.3802, allocations: 108 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.3806, allocations: 14.19 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.3859, allocations: 2.127 MB / 1.098 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3862, allocations: 0.6924 MB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.3864, allocations: 16.67 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.846e-05/0.3865, allocations: 27.42 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of SimCode: time 7.42e-07/0.3865, allocations: 4 kB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4115, allocations: 2.738 MB / 1.102 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.258, allocations: 13.02 kB / 1.102 GB, free: 3.102 MB / 0.8575 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