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.001295/0.001299, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.001301, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.423/2.423, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5266, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001678/0.5283, allocations: 0.6348 MB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.5299, allocations: 1.454 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.53, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.53, allocations: 3.938 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.5301, allocations: 0 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.5304, allocations: 123.5 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.5305, allocations: 27.92 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.5305, allocations: 7.984 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.5306, allocations: 7.938 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.5306, allocations: 23.91 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.5307, allocations: 3.984 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.5311, allocations: 307.4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.5311, allocations: 19.86 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.5311, allocations: 7.922 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.5314, allocations: 189.9 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5314, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5314, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.5314, allocations: 4 kB / 1.02 GB, free: 15.65 MB / 0.7794 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.0004692/0.5319, allocations: 385.3 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.532, allocations: 8.031 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.532, allocations: 34.75 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.5324, allocations: 60.86 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5325, allocations: 176.2 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5325, allocations: 384 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5326, allocations: 12.31 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.5328, allocations: 77.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5328, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.5329, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5329, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.5332, allocations: 67.92 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.5334, allocations: 177.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.5339, allocations: 126.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.5341, allocations: 44.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.5342, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.5342, allocations: 46.44 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5342, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 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.003988/0.5382, allocations: 0.7818 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.5383, allocations: 55.41 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.5384, allocations: 117.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5384, allocations: 25.7 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.5384, allocations: 80.14 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.5385, allocations: 39.53 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.5385, allocations: 29.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.5386, allocations: 310.8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.5391, allocations: 103.9 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.5395, allocations: 95.89 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008445/0.5404, allocations: 189 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5404, allocations: 11.88 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009334/0.5413, allocations: 237.4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5414, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5414, allocations: 7.938 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.5414, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.5417, allocations: 55.88 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5417, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.5419, allocations: 39.95 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.542, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 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.45e-05/0.5421, allocations: 117.8 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.5421, allocations: 7.906 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.5421, allocations: 20.36 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5421, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5421, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5422, allocations: 4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.5439, allocations: 0.5896 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5439, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.5442, allocations: 59.94 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5442, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5442, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5442, allocations: 0.75 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5442, allocations: 3.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.5452, allocations: 341 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.5452, allocations: 89 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.5453, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.5455, allocations: 47.95 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.5456, allocations: 11.92 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5456, allocations: 4 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.5457, allocations: 91.66 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5457, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002814/0.546, allocations: 40.12 kB / 1.025 GB, free: 10.54 MB / 0.7794 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.001355/0.5473, allocations: 0.907 MB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009603/0.5483, allocations: 215.7 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5483, allocations: 3.938 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.5488, allocations: 107.9 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.549, allocations: 14.28 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.5538, allocations: 2.118 MB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.5541, allocations: 0.6885 MB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.5542, allocations: 24.61 kB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.5543, allocations: 31.41 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5543, allocations: 0 / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5729, allocations: 2.694 MB / 1.031 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.118, allocations: 9.828 kB / 1.031 GB, free: 3.676 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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