Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 1.104 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8657, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001841/0.8676, allocations: 0.6399 MB / 1.269 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.8696, allocations: 1.45 MB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.8696, allocations: 0 / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.8696, allocations: 7.938 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.8697, allocations: 7.922 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.8701, allocations: 123.5 kB / 1.271 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.816e-05/0.8702, allocations: 27.91 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.8702, allocations: 0 / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.8702, allocations: 19.92 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.8703, allocations: 15.92 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.8703, allocations: 7.938 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.8708, allocations: 319.3 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.8708, allocations: 4 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.8709, allocations: 19.8 kB / 1.271 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.8712, allocations: 189.3 kB / 1.272 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8712, allocations: 0 / 1.272 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8712, allocations: 0 / 1.272 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8712, allocations: 0 / 1.272 GB, free: 2.344 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.0005595/0.8717, allocations: 382.9 kB / 1.272 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.8718, allocations: 16.02 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.8718, allocations: 38.69 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.8722, allocations: 64.81 kB / 1.272 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.8724, allocations: 176.4 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8724, allocations: 384 / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.8724, allocations: 4.375 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.8727, allocations: 77.77 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.8727, allocations: 3.953 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.8727, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8727, allocations: 4 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.8731, allocations: 75.84 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.8733, allocations: 165.7 kB / 1.273 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.8739, allocations: 126.5 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.8741, allocations: 40.94 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.8741, allocations: 4 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.8741, allocations: 38.5 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.8741, allocations: 0 / 1.273 GB, free: 0.9805 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.004266/0.8784, allocations: 0.7877 MB / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.8784, allocations: 55.41 kB / 1.274 GB, free: 124 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.8785, allocations: 109.8 kB / 1.274 GB, free: 4 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.8786, allocations: 29.7 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.8786, allocations: 84.12 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.8787, allocations: 27.75 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.8787, allocations: 33.7 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8789, allocations: 318.8 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.8793, allocations: 95.84 kB / 1.274 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.8798, allocations: 99.92 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.8806, allocations: 196.7 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8806, allocations: 3.938 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009414/0.8816, allocations: 241.4 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8816, allocations: 4 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8816, allocations: 0 / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.8816, allocations: 4 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.8819, allocations: 52.69 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.882, allocations: 7.984 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.8822, allocations: 31.97 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.8822, allocations: 11.92 kB / 1.275 GB, free: 14.75 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 0.0001056/0.8823, allocations: 117.7 kB / 1.275 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.8823, allocations: 7.953 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.8824, allocations: 8.375 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.8824, allocations: 8 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8824, allocations: 4 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.8824, allocations: 3.984 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.8842, allocations: 0.5974 MB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8842, allocations: 0 / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.8845, allocations: 55.88 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8845, allocations: 0 / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.8845, allocations: 8.062 kB / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8845, allocations: 288 / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.8845, allocations: 7.938 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009878/0.8855, allocations: 340.9 kB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.8856, allocations: 85.06 kB / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.8856, allocations: 0 / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.8859, allocations: 35.95 kB / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.8859, allocations: 19.92 kB / 1.276 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.8859, allocations: 7.984 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.886, allocations: 87.28 kB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.886, allocations: 0 / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000395/0.8864, allocations: 43.86 kB / 1.276 GB, free: 13.21 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.001431/0.8878, allocations: 0.9053 MB / 1.277 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009386/0.8888, allocations: 203.8 kB / 1.277 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8888, allocations: 0 / 1.277 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.8892, allocations: 108 kB / 1.277 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.8895, allocations: 11.94 kB / 1.277 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.8944, allocations: 2.135 MB / 1.279 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.8947, allocations: 0.6924 MB / 1.28 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.8948, allocations: 21.77 kB / 1.28 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.8949, allocations: 31.41 kB / 1.28 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.8949, allocations: 0 / 1.28 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.9223, allocations: 2.764 MB / 1.283 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/9.223, allocations: 10.75 kB / 1.283 GB, free: 6.312 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.249902329873294]