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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001688/0.001688, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002109/0.002109, allocations: 195 kB / 16.25 MB, free: 6.625 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.978/1.978, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.14/3.14, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002432, allocations: 71.12 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3144, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002156/0.3166, allocations: 0.7183 MB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3188, allocations: 1.455 MB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.3188, allocations: 0 / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.3189, allocations: 7.938 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.319, allocations: 4 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.3194, allocations: 99.69 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.3195, allocations: 19.98 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.3196, allocations: 11.98 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.3196, allocations: 19.86 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.3197, allocations: 19.92 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3197, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.3203, allocations: 319.3 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.3203, allocations: 3.938 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.3204, allocations: 15.92 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.3207, allocations: 187.9 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3207, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3207, allocations: 7.938 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3207, allocations: 3.938 kB / 1.055 GB, free: 5.746 MB / 0.8106 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.0005409/0.3213, allocations: 371.4 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3213, allocations: 8.625 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.3214, allocations: 34.73 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.3219, allocations: 68.7 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.322, allocations: 168.4 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3221, allocations: 384 / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3221, allocations: 4.375 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.3225, allocations: 81.77 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3225, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3225, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3225, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.323, allocations: 79.83 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.3232, allocations: 173.6 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.3239, allocations: 122.5 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3242, allocations: 40.94 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3242, allocations: 7.984 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3243, allocations: 38.5 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.3243, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 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.005545/0.3298, allocations: 0.7899 MB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3299, allocations: 55.41 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.33, allocations: 109.8 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.33, allocations: 25.7 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3301, allocations: 84.14 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.3302, allocations: 31.55 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.3303, allocations: 29.7 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3304, allocations: 322.8 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/0.331, allocations: 91.91 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.3316, allocations: 99.83 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.3327, allocations: 204.8 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3327, allocations: 3.938 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001255/0.334, allocations: 237.3 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.334, allocations: 5.094 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.334, allocations: 320 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3341, allocations: 4 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.3345, allocations: 55.94 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3345, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.3348, allocations: 39.95 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3349, allocations: 11.97 kB / 1.058 GB, free: 2.168 MB / 0.8106 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.000106/0.335, allocations: 117.7 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.335, allocations: 4 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.3351, allocations: 8.375 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3351, allocations: 8 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3351, allocations: 0 / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3351, allocations: 3.984 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.3373, allocations: 0.5974 MB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3373, allocations: 0 / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.3377, allocations: 55.94 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3377, allocations: 3.938 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3377, allocations: 8.062 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3377, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3378, allocations: 7.938 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.339, allocations: 340.9 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.3391, allocations: 81.11 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.3391, allocations: 0 / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3395, allocations: 35.95 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3396, allocations: 19.92 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.3396, allocations: 8.547 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.3397, allocations: 87.28 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3397, allocations: 3.938 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005056/0.3402, allocations: 35.98 kB / 1.06 GB, free: 0.6445 MB / 0.8106 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.001697/0.3419, allocations: 0.9052 MB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.3432, allocations: 211.7 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3432, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.3438, allocations: 108 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3442, allocations: 11.94 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.3504, allocations: 2.137 MB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3506, allocations: 0.6846 MB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.3508, allocations: 20.94 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.351, allocations: 27.42 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.351, allocations: 4 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.28/1.631, allocations: 2.613 MB / 1.066 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/1.632, allocations: 219.1 kB / 1.067 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/4.399, allocations: 0.875 kB / 1.067 GB, free: 9.688 MB / 0.8262 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=50 --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