Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p|floMac.inlet.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p|floMac.inlet.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001731/0.001731, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.477/2.477, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.11 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.8669, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.3355/1.202, allocations: 312.6 MB / 1.473 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04259/1.245, allocations: 29.34 MB / 1.501 GB, free: 12.63 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/1.249, allocations: 83.56 kB / 1.501 GB, free: 12.55 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.007306/1.256, allocations: 2.424 MB / 1.504 GB, free: 10.11 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009459/1.266, allocations: 3.304 MB / 1.507 GB, free: 6.797 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007391/1.273, allocations: 2.79 MB / 1.51 GB, free: 4.008 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.285, allocations: 7.567 MB / 1.517 GB, free: 12.43 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004168/1.29, allocations: 2.088 MB / 1.519 GB, free: 10.3 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/1.296, allocations: 2.453 MB / 1.521 GB, free: 7.836 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/1.3, allocations: 1.535 MB / 1.523 GB, free: 6.301 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008944/1.3, allocations: 252 kB / 1.523 GB, free: 6.055 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007797/1.308, allocations: 3.633 MB / 1.527 GB, free: 2.414 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/1.31, allocations: 0.8218 MB / 1.528 GB, free: 1.59 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003063/1.313, allocations: 1.396 MB / 1.529 GB, free: 192 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/1.327, allocations: 5.445 MB / 1.534 GB, free: 10.73 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.327, allocations: 0 / 1.534 GB, free: 10.73 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.747e-06/1.327, allocations: 4 kB / 1.534 GB, free: 10.72 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001674/1.327, allocations: 0 / 1.534 GB, free: 10.72 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.008876/1.336, allocations: 2.943 MB / 1.537 GB, free: 7.707 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.336, allocations: 8.625 kB / 1.537 GB, free: 7.699 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/1.343, allocations: 0.9374 MB / 1.538 GB, free: 6.758 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/1.356, allocations: 5.738 MB / 1.544 GB, free: 0.9648 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.356, allocations: 102.6 kB / 1.544 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/1.356, allocations: 136 kB / 1.544 GB, free: 0.7305 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004013/1.36, allocations: 1.61 MB / 1.545 GB, free: 15.05 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.36, allocations: 0 / 1.545 GB, free: 15.05 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/1.36, allocations: 56 kB / 1.545 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/1.36, allocations: 46.53 kB / 1.546 GB, free: 14.95 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/1.364, allocations: 1.341 MB / 1.547 GB, free: 13.6 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/1.376, allocations: 7.806 MB / 1.554 GB, free: 5.242 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.379, allocations: 0.8647 MB / 1.555 GB, free: 4.332 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009772/1.38, allocations: 348.6 kB / 1.556 GB, free: 3.988 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/1.38, allocations: 190.2 kB / 1.556 GB, free: 3.766 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.38, allocations: 34.56 kB / 1.556 GB, free: 3.723 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/1.38, allocations: 0 / 1.556 GB, free: 3.723 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.00359/1.384, allocations: 1.059 MB / 1.557 GB, free: 2.656 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.384, allocations: 55.41 kB / 1.557 GB, free: 2.59 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/1.388, allocations: 2.172 MB / 1.559 GB, free: 404 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.388, allocations: 33.7 kB / 1.559 GB, free: 364 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.7534/2.141, allocations: 0.9614 MB / 1.56 GB, free: 390.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/2.142, allocations: 135.2 kB / 1.56 GB, free: 390.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/2.142, allocations: 247.8 kB / 1.56 GB, free: 390 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001143/2.142, allocations: 355.2 kB / 1.561 GB, free: 389.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/2.144, allocations: 0.5242 MB / 1.561 GB, free: 389.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/2.146, allocations: 0.8027 MB / 1.562 GB, free: 388.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/2.149, allocations: 1.195 MB / 1.563 GB, free: 388.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/2.149, allocations: 2.859 kB / 1.563 GB, free: 388.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003745/2.152, allocations: 1.526 MB / 1.565 GB, free: 387.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/2.152, allocations: 7.156 kB / 1.565 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/2.152, allocations: 11.22 kB / 1.565 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/2.152, allocations: 11.62 kB / 1.565 GB, free: 387.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/2.154, allocations: 252.7 kB / 1.565 GB, free: 387.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003191/2.154, allocations: 0.6132 MB / 1.566 GB, free: 387.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/2.156, allocations: 180.4 kB / 1.566 GB, free: 387.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/2.156, allocations: 47.14 kB / 1.566 GB, free: 387.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001899/2.158, allocations: 1.02 MB / 1.567 GB, free: 386.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001194/2.159, allocations: 0.7903 MB / 1.568 GB, free: 386.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002022/2.161, allocations: 1.169 MB / 1.569 GB, free: 385.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.542e-06/2.161, allocations: 3.969 kB / 1.569 GB, free: 385.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.0029/2.164, allocations: 1.509 MB / 1.57 GB, free: 384.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/2.164, allocations: 7.75 kB / 1.57 GB, free: 384.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/2.164, allocations: 9.609 kB / 1.57 GB, free: 384.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/2.164, allocations: 11.12 kB / 1.57 GB, free: 384.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/2.165, allocations: 234 kB / 1.57 GB, free: 384.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/2.165, allocations: 20.86 kB / 1.57 GB, free: 384.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/2.166, allocations: 121.2 kB / 1.571 GB, free: 384.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/2.166, allocations: 38.25 kB / 1.571 GB, free: 384.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002831/2.167, allocations: 228.6 kB / 1.571 GB, free: 384.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/2.167, allocations: 207.2 kB / 1.571 GB, free: 384.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/2.169, allocations: 0.7944 MB / 1.572 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/2.169, allocations: 3.969 kB / 1.572 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/2.169, allocations: 0 / 1.572 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/2.169, allocations: 8.922 kB / 1.572 GB, free: 384.1 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/2.173, allocations: 2.264 MB / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.173, allocations: 0 / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/2.174, allocations: 129.1 kB / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/2.174, allocations: 0 / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/2.174, allocations: 19.08 kB / 1.574 GB, free: 383 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002246/2.175, allocations: 0.5991 MB / 1.575 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.175, allocations: 0 / 1.575 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/2.177, allocations: 0.9202 MB / 1.576 GB, free: 382 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/2.177, allocations: 356.4 kB / 1.576 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/2.178, allocations: 8.375 kB / 1.576 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/2.179, allocations: 63.27 kB / 1.576 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/2.179, allocations: 24.12 kB / 1.576 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/2.179, allocations: 18.86 kB / 1.576 GB, free: 381.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001983/2.181, allocations: 1.494 MB / 1.578 GB, free: 381.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/2.181, allocations: 0 / 1.578 GB, free: 381.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002283/2.183, allocations: 0.9003 MB / 1.578 GB, free: 380.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008716/2.184, allocations: 442.2 kB / 1.579 GB, free: 380 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003909/2.188, allocations: 1.706 MB / 1.58 GB, free: 378.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.188, allocations: 0 / 1.58 GB, free: 378.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/2.189, allocations: 328.3 kB / 1.581 GB, free: 378.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/2.193, allocations: 1.148 MB / 1.582 GB, free: 377.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/2.201, allocations: 3.688 MB / 1.586 GB, free: 373.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/2.202, allocations: 1.534 MB / 1.587 GB, free: 372.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/2.203, allocations: 143.4 kB / 1.587 GB, free: 372.1 MB / 1.279 GB Notification: Performance of SimCode: time 7.61e-07/2.203, allocations: 0 / 1.587 GB, free: 372.1 MB / 1.279 GB Notification: Performance of Templates: time 0.04923/2.252, allocations: 46.37 MB / 1.632 GB, free: 325.9 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches