Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001999/0.001999, allocations: 108.2 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.002045/0.002045, allocations: 191.8 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.471/1.471, 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.745/2.745, allocations: 476.7 MB / 0.7611 GB, free: 11.32 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.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8576, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002592/0.8602, allocations: 0.8417 MB / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.8604, allocations: 43.78 kB / 1.27 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.8605, allocations: 0 / 1.27 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.8605, allocations: 11.88 kB / 1.27 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.8606, allocations: 15.86 kB / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.79e-05/0.8607, allocations: 15.98 kB / 1.27 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.8609, allocations: 59.84 kB / 1.27 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.861, allocations: 35.92 kB / 1.27 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.8611, allocations: 31.86 kB / 1.27 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.8612, allocations: 27.8 kB / 1.27 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.8612, allocations: 4 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.8612, allocations: 8 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.8612, allocations: 11.92 kB / 1.27 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.8613, allocations: 39.8 kB / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.8615, allocations: 73.47 kB / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8615, allocations: 4 kB / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.796e-06/0.8615, allocations: 3.938 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.8615, allocations: 0 / 1.27 GB, free: 3.98 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006093/0.8621, allocations: 385.1 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.8621, allocations: 8.031 kB / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.8622, allocations: 42.69 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.8622, allocations: 12.84 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.8626, allocations: 196.2 kB / 1.271 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.8626, allocations: 8.375 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.8626, allocations: 4.375 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.8628, allocations: 95.89 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.8628, allocations: 3.938 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.8628, allocations: 4 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.8629, allocations: 4 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.8629, allocations: 27.98 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.8636, allocations: 448.7 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.8637, allocations: 41.12 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.8638, allocations: 25.88 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.8638, allocations: 4 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.8638, allocations: 30.56 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8638, allocations: 0 / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002242/0.864, allocations: 61.52 kB / 1.271 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.8641, allocations: 77.11 kB / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.8643, allocations: 160.7 kB / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.8643, allocations: 29.95 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.8644, allocations: 96.09 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.8644, allocations: 11.94 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.8645, allocations: 17.67 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8647, allocations: 318.8 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.8647, allocations: 11.98 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.8647, allocations: 13.72 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.8648, allocations: 33.66 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8648, allocations: 0 / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.84e-05/0.8649, allocations: 53.64 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8649, allocations: 11.94 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8649, allocations: 3.938 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8649, allocations: 3.938 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.865, allocations: 8 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.865, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.865, allocations: 12 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.865, allocations: 7.984 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001073/0.8651, allocations: 117.8 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.8652, allocations: 15.89 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.8652, allocations: 3.875 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.8652, allocations: 8 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8652, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8652, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.8657, allocations: 478.7 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8657, allocations: 0 / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.8657, allocations: 4 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.8657, allocations: 3.984 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.8657, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8657, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.8657, allocations: 4 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.8658, allocations: 81.89 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.8659, allocations: 89.05 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8659, allocations: 4 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.866, allocations: 0 / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.866, allocations: 0 / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.866, allocations: 0 / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001013/0.8661, allocations: 122.1 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8661, allocations: 4.031 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001864/0.8663, allocations: 8 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005064/0.8668, allocations: 0.6176 MB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.468e-05/0.8669, allocations: 16.03 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8669, allocations: 0 / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.881e-05/0.8669, allocations: 15.92 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.867, allocations: 7.906 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.8685, allocations: 1.331 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.8689, allocations: 0.6929 MB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.869, allocations: 16.3 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.869, allocations: 23.44 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.869, allocations: 0 / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.8923, allocations: 1.588 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/9.191, allocations: 13.17 kB / 1.277 GB, free: 12.07 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.485589577816427]