Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.007658/0.007658, allocations: 100.2 kB / 15.73 MB, free: 6.496 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.001909/0.001909, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.847/2.847, allocations: 469.4 MB / 0.7422 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3047, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001692/0.3064, allocations: 0.642 MB / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3084, allocations: 1.448 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.3084, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.3085, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.3086, allocations: 3.938 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3092, allocations: 131.5 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.3093, allocations: 27.95 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.3093, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.3094, allocations: 15.88 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.3095, allocations: 19.91 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3095, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.31, allocations: 323.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.3101, allocations: 11.94 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3101, allocations: 11.92 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.3104, allocations: 183.5 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3105, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3105, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.3105, allocations: 7.938 kB / 1.223 GB, free: 11.76 MB / 0.9825 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.0005536/0.311, allocations: 390.8 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3111, allocations: 8.031 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.3111, allocations: 30.75 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.3116, allocations: 68.81 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3117, allocations: 168.4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3117, allocations: 4.375 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.3118, allocations: 4.375 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3121, allocations: 69.77 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3121, allocations: 11.95 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3121, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3121, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.3125, allocations: 79.84 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.3126, allocations: 165.7 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.3132, allocations: 126.5 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3134, allocations: 40.95 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3134, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3135, allocations: 38.5 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3135, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 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.004129/0.3176, allocations: 0.7973 MB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3177, allocations: 55.41 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.3178, allocations: 113.8 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3178, allocations: 25.7 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.3178, allocations: 88.05 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.3179, allocations: 31.73 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.318, allocations: 25.7 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3181, allocations: 318.8 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.3185, allocations: 99.89 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.319, allocations: 99.83 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008081/0.3198, allocations: 192.7 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3198, allocations: 7.875 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009158/0.3207, allocations: 241.4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3208, allocations: 4 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3208, allocations: 0 / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3208, allocations: 5.125 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.3211, allocations: 51.94 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3211, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3214, allocations: 39.95 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3214, allocations: 15.92 kB / 1.226 GB, free: 8.164 MB / 0.9825 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.852e-05/0.3215, allocations: 114.2 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.3215, allocations: 7.953 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.3216, allocations: 12.38 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3216, allocations: 8 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3216, allocations: 0 / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3216, allocations: 0 / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.3233, allocations: 0.5935 MB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3233, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.3236, allocations: 56 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3236, allocations: 3.938 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3236, allocations: 7.984 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3236, allocations: 0 / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3236, allocations: 7.938 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.3246, allocations: 337 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3246, allocations: 85.06 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3246, allocations: 4 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3249, allocations: 39.95 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.325, allocations: 15.91 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.325, allocations: 4 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.325, allocations: 95.27 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.51e-07/0.325, allocations: 0 / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003074/0.3253, allocations: 43.86 kB / 1.227 GB, free: 6.629 MB / 0.9825 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.001346/0.3267, allocations: 0.9012 MB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009431/0.3277, allocations: 207.9 kB / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3277, allocations: 192 / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.3281, allocations: 115.9 kB / 1.228 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3284, allocations: 17.88 kB / 1.228 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.3331, allocations: 2.131 MB / 1.23 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3333, allocations: 0.6893 MB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3335, allocations: 24.66 kB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.3336, allocations: 27.42 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3336, allocations: 0 / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.3538, allocations: 2.741 MB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.968, allocations: 12.25 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches