Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HeaterFan,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001464/0.001464, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 61 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7577, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3482/1.106, allocations: 312.8 MB / 1.388 GB, free: 5.121 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03778/1.144, allocations: 29.39 MB / 1.417 GB, free: 7.652 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/1.147, allocations: 83.56 kB / 1.417 GB, free: 7.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/1.157, allocations: 4.939 MB / 1.422 GB, free: 2.617 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008315/1.166, allocations: 3.029 MB / 1.425 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006576/1.172, allocations: 2.606 MB / 1.427 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0101/1.182, allocations: 6.939 MB / 1.434 GB, free: 6.02 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/1.185, allocations: 2.049 MB / 1.436 GB, free: 3.922 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/1.191, allocations: 2.476 MB / 1.439 GB, free: 1.438 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/1.194, allocations: 1.452 MB / 1.44 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/1.194, allocations: 248 kB / 1.44 GB, free: 15.74 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006787/1.201, allocations: 3.586 MB / 1.444 GB, free: 12.15 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.202, allocations: 0.8141 MB / 1.445 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002884/1.205, allocations: 1.381 MB / 1.446 GB, free: 9.945 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008774/1.214, allocations: 5.325 MB / 1.451 GB, free: 4.602 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.214, allocations: 0 / 1.451 GB, free: 4.602 MB / 1.17 GB Notification: Performance of FrontEnd: time 6.031e-06/1.214, allocations: 4 kB / 1.451 GB, free: 4.598 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.577e-05/1.214, allocations: 0 / 1.451 GB, free: 4.598 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00487/1.219, allocations: 2.911 MB / 1.454 GB, free: 1.613 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.219, allocations: 8.031 kB / 1.454 GB, free: 1.605 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/1.225, allocations: 0.9336 MB / 1.455 GB, free: 0.668 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009943/1.234, allocations: 5.613 MB / 1.46 GB, free: 11 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004053/1.235, allocations: 166.5 kB / 1.461 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.235, allocations: 132 kB / 1.461 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/1.238, allocations: 1.593 MB / 1.462 GB, free: 9.047 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.238, allocations: 8 kB / 1.462 GB, free: 9.039 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.239, allocations: 56 kB / 1.462 GB, free: 8.984 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/1.239, allocations: 46.5 kB / 1.462 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003259/1.242, allocations: 1.341 MB / 1.464 GB, free: 7.59 MB / 1.186 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.01098/1.253, allocations: 7.789 MB / 1.471 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/1.255, allocations: 0.6863 MB / 1.472 GB, free: 14.53 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/1.256, allocations: 260.8 kB / 1.472 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/1.256, allocations: 198.1 kB / 1.472 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.256, allocations: 39.16 kB / 1.472 GB, free: 14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/1.256, allocations: 0 / 1.472 GB, free: 14 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002859/1.259, allocations: 1.039 MB / 1.473 GB, free: 12.91 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.259, allocations: 59.34 kB / 1.473 GB, free: 12.84 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/1.262, allocations: 2.364 MB / 1.476 GB, free: 10.46 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/1.262, allocations: 33.7 kB / 1.476 GB, free: 10.42 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/1.263, allocations: 0.9574 MB / 1.477 GB, free: 9.453 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.263, allocations: 134.2 kB / 1.477 GB, free: 9.32 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.264, allocations: 254.3 kB / 1.477 GB, free: 9.066 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.264, allocations: 349.9 kB / 1.477 GB, free: 8.719 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/1.265, allocations: 0.5243 MB / 1.478 GB, free: 8.188 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.267, allocations: 0.7895 MB / 1.479 GB, free: 7.285 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/1.269, allocations: 1.124 MB / 1.48 GB, free: 6.062 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.269, allocations: 4 kB / 1.48 GB, free: 6.059 MB / 1.201 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00359/1.273, allocations: 1.632 MB / 1.481 GB, free: 4.398 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.273, allocations: 8.375 kB / 1.481 GB, free: 4.391 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.273, allocations: 12 kB / 1.481 GB, free: 4.379 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/1.273, allocations: 36.84 kB / 1.481 GB, free: 4.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.274, allocations: 239.7 kB / 1.482 GB, free: 4.105 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.275, allocations: 1.572 MB / 1.483 GB, free: 2.387 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.277, allocations: 260.8 kB / 1.483 GB, free: 2.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/1.277, allocations: 39.98 kB / 1.484 GB, free: 2.094 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002089/1.279, allocations: 1.01 MB / 1.485 GB, free: 1.082 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00138/1.281, allocations: 0.7855 MB / 1.485 GB, free: 188 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002032/1.283, allocations: 1.109 MB / 1.486 GB, free: 14.98 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.283, allocations: 3.938 kB / 1.486 GB, free: 14.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003458/1.286, allocations: 1.619 MB / 1.488 GB, free: 13.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.286, allocations: 8 kB / 1.488 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.286, allocations: 11.98 kB / 1.488 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-05/1.286, allocations: 32.94 kB / 1.488 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.288, allocations: 239.8 kB / 1.488 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/1.289, allocations: 1.568 MB / 1.49 GB, free: 11.33 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.291, allocations: 171.8 kB / 1.49 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/1.291, allocations: 43.98 kB / 1.49 GB, free: 11.12 MB / 1.217 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003007/1.291, allocations: 232.7 kB / 1.49 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/1.291, allocations: 213.2 kB / 1.49 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/1.293, allocations: 0.7627 MB / 1.491 GB, free: 9.875 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.293, allocations: 4 kB / 1.491 GB, free: 9.871 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.293, allocations: 0 / 1.491 GB, free: 9.871 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.293, allocations: 3.984 kB / 1.491 GB, free: 9.867 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/1.297, allocations: 2.169 MB / 1.493 GB, free: 7.598 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.297, allocations: 3.938 kB / 1.493 GB, free: 7.594 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/1.298, allocations: 100.1 kB / 1.493 GB, free: 7.496 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-05/1.298, allocations: 28.84 kB / 1.493 GB, free: 7.465 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/1.298, allocations: 8 kB / 1.493 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/1.299, allocations: 1.56 MB / 1.495 GB, free: 5.762 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.299, allocations: 7.922 kB / 1.495 GB, free: 5.754 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.301, allocations: 0.885 MB / 1.496 GB, free: 4.809 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/1.301, allocations: 354.3 kB / 1.496 GB, free: 4.441 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/1.302, allocations: 8 kB / 1.496 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.303, allocations: 67.92 kB / 1.496 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/1.303, allocations: 31.91 kB / 1.496 GB, free: 4.336 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/1.303, allocations: 19.98 kB / 1.496 GB, free: 4.316 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002695/1.306, allocations: 1.639 MB / 1.498 GB, free: 2.668 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.864e-06/1.306, allocations: 0 / 1.498 GB, free: 2.668 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002393/1.308, allocations: 0.8853 MB / 1.499 GB, free: 1.781 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009451/1.309, allocations: 458.8 kB / 1.499 GB, free: 1.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004102/1.313, allocations: 1.836 MB / 1.501 GB, free: 15.46 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.313, allocations: 0 / 1.501 GB, free: 15.46 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/1.314, allocations: 357.1 kB / 1.501 GB, free: 15.1 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.319, allocations: 1.243 MB / 1.503 GB, free: 13.89 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/1.325, allocations: 3.43 MB / 1.506 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.326, allocations: 1.534 MB / 1.507 GB, free: 8.824 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/1.327, allocations: 143.4 kB / 1.507 GB, free: 8.684 MB / 1.232 GB Notification: Performance of SimCode: time 1.252e-06/1.327, allocations: 0 / 1.507 GB, free: 8.684 MB / 1.232 GB Notification: Performance of Templates: time 0.5553/1.882, allocations: 47.1 MB / 1.553 GB, free: 398.6 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches