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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007255/0.007255, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001509/0.001509, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 482.6 MB / 0.755 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 67.03 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 162.3 MB / 1.242 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00198/0.3167, allocations: 0.6458 MB / 1.243 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.319, allocations: 1.453 MB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.319, allocations: 0 / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.3191, allocations: 3.938 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.3192, allocations: 3.938 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.3198, allocations: 127.4 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.3199, allocations: 23.92 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.3199, allocations: 3.984 kB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.32, allocations: 15.94 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.3201, allocations: 27.83 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3201, allocations: 4 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000577/0.3207, allocations: 311.4 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.3207, allocations: 11.97 kB / 1.244 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.3208, allocations: 15.88 kB / 1.244 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.3212, allocations: 187.8 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3212, allocations: 0 / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3212, allocations: 0 / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3212, allocations: 0 / 1.245 GB, free: 6 MB / 0.9669 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.0005725/0.3218, allocations: 382.9 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3218, allocations: 16.03 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.3219, allocations: 30.75 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.3222, allocations: 52.86 kB / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3224, allocations: 188.3 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.3224, allocations: 384 / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3225, allocations: 4.312 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.3227, allocations: 73.77 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3228, allocations: 0 / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3228, allocations: 8 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3228, allocations: 4 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3232, allocations: 67.92 kB / 1.245 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.3234, allocations: 173.6 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.3239, allocations: 126.4 kB / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3241, allocations: 44.95 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3242, allocations: 3.938 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3242, allocations: 34.5 kB / 1.246 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 2.905e-06/0.3242, allocations: 3.984 kB / 1.246 GB, free: 4.641 MB / 0.9669 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.003952/0.3282, allocations: 0.7946 MB / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3282, allocations: 55.41 kB / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.3283, allocations: 113.8 kB / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3283, allocations: 29.7 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.3284, allocations: 84.14 kB / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3284, allocations: 31.73 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.3285, allocations: 25.7 kB / 1.247 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3286, allocations: 314.8 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3291, allocations: 100.6 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.3295, allocations: 99.89 kB / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.3303, allocations: 188.6 kB / 1.248 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3303, allocations: 3.938 kB / 1.248 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009024/0.3312, allocations: 249.7 kB / 1.248 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3313, allocations: 4 kB / 1.248 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3313, allocations: 96 / 1.248 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3313, allocations: 7.938 kB / 1.248 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.3316, allocations: 55.94 kB / 1.248 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3316, allocations: 0 / 1.248 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3318, allocations: 39.95 kB / 1.248 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3319, allocations: 4 kB / 1.248 GB, free: 2.41 MB / 0.9669 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.914e-05/0.332, allocations: 117.8 kB / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.332, allocations: 11.94 kB / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.332, allocations: 8.375 kB / 1.248 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.332, allocations: 3.938 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3321, allocations: 0 / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3321, allocations: 0 / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.3337, allocations: 0.5977 MB / 1.249 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3337, allocations: 0 / 1.249 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.334, allocations: 56 kB / 1.249 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.334, allocations: 0 / 1.249 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.334, allocations: 11.98 kB / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.334, allocations: 0 / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.334, allocations: 4.016 kB / 1.249 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.335, allocations: 348.9 kB / 1.249 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.3351, allocations: 85.06 kB / 1.249 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3351, allocations: 0 / 1.249 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3353, allocations: 39.89 kB / 1.249 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3354, allocations: 15.92 kB / 1.249 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3354, allocations: 4 kB / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.3355, allocations: 91.27 kB / 1.249 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3355, allocations: 8 kB / 1.249 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002836/0.3358, allocations: 31.88 kB / 1.249 GB, free: 0.875 MB / 0.9669 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.001337/0.3371, allocations: 0.9018 MB / 1.25 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009282/0.338, allocations: 211.8 kB / 1.25 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3381, allocations: 0 / 1.25 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.3385, allocations: 116 kB / 1.251 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.3388, allocations: 9.656 kB / 1.251 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.3434, allocations: 2.137 MB / 1.253 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3437, allocations: 0.6807 MB / 1.253 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.988e-05/0.3438, allocations: 28.59 kB / 1.253 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.3439, allocations: 23.42 kB / 1.253 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3439, allocations: 0 / 1.253 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09251/0.4364, allocations: 2.739 MB / 1.256 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.918, allocations: 14.06 kB / 1.256 GB, free: 10.01 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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