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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001017/0.001017, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.00819/0.00819, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003487, allocations: 12 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5612, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007476/0.562, allocations: 373.2 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.5639, allocations: 1.447 MB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.5639, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.5639, allocations: 4 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.564, allocations: 7.938 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.5644, allocations: 91.73 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.5645, allocations: 23.92 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.5645, allocations: 4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.5646, allocations: 15.94 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.5646, allocations: 23.91 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.5647, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.5651, allocations: 315.3 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.5652, allocations: 11.94 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.5652, allocations: 37.62 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.5655, allocations: 185.9 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5655, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5655, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.5655, allocations: 0 / 1.026 GB, free: 13.28 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.0005468/0.5661, allocations: 371.3 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5661, allocations: 12.03 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.5662, allocations: 34.75 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.5666, allocations: 72.86 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.5668, allocations: 184.1 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5668, allocations: 384 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.5669, allocations: 4.375 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.5671, allocations: 89.7 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5672, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5672, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.5672, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.5676, allocations: 87.92 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.5678, allocations: 165.7 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.5684, allocations: 154.4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.5686, allocations: 48.95 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5686, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5687, allocations: 38.5 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.5687, allocations: 0 / 1.027 GB, free: 11.87 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.004598/0.5733, allocations: 0.9536 MB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5733, allocations: 51.41 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.5734, allocations: 113.8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5735, allocations: 29.7 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.5735, allocations: 88.14 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.5736, allocations: 27.55 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.5736, allocations: 13.72 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5737, allocations: 318.8 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.5742, allocations: 115.9 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.5747, allocations: 119.9 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.5756, allocations: 236.9 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5756, allocations: 3.938 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009926/0.5766, allocations: 293.3 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5766, allocations: 7.938 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5766, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5766, allocations: 0 / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.5769, allocations: 67.92 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.577, allocations: 0 / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5772, allocations: 47.97 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.5773, allocations: 7.984 kB / 1.029 GB, free: 9.344 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 9.35e-05/0.5774, allocations: 114.3 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.5774, allocations: 7.906 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.5774, allocations: 16.36 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5774, allocations: 7.984 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5774, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5775, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5793, allocations: 0.656 MB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5793, allocations: 64 / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.5796, allocations: 67.92 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5796, allocations: 8 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5796, allocations: 4 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5796, allocations: 4 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5796, allocations: 3.938 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5806, allocations: 381.7 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.5807, allocations: 85 kB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.5807, allocations: 8 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.581, allocations: 43.95 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.581, allocations: 15.86 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.5811, allocations: 4 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.5811, allocations: 91.66 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5811, allocations: 0 / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003031/0.5814, allocations: 43.94 kB / 1.031 GB, free: 7.688 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.001399/0.5828, allocations: 0.9367 MB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009685/0.5838, allocations: 259.6 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5838, allocations: 0 / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.5843, allocations: 132.2 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5846, allocations: 9.484 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.5894, allocations: 2.311 MB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.5897, allocations: 0.6887 MB / 1.035 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.5898, allocations: 16.67 kB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.5899, allocations: 35.34 kB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.5899, allocations: 4 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.6023, allocations: 2.477 MB / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.6026, allocations: 210.7 kB / 1.038 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/4.05, allocations: 0 / 1.038 GB, free: 0.5703 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