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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001889/0.001889, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.002084/0.002084, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8539, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3364/1.19, allocations: 312.7 MB / 1.514 GB, free: 3.801 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04319/1.234, allocations: 29.38 MB / 1.542 GB, free: 6.34 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004527/1.238, allocations: 83.56 kB / 1.543 GB, free: 6.258 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.007813/1.246, allocations: 2.387 MB / 1.545 GB, free: 3.859 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/1.256, allocations: 3.181 MB / 1.548 GB, free: 0.668 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007926/1.264, allocations: 2.751 MB / 1.551 GB, free: 13.92 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01405/1.278, allocations: 7.549 MB / 1.558 GB, free: 6.355 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004792/1.283, allocations: 2.088 MB / 1.56 GB, free: 4.223 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007458/1.291, allocations: 2.422 MB / 1.562 GB, free: 1.793 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/1.295, allocations: 1.516 MB / 1.564 GB, free: 284 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/1.296, allocations: 260 kB / 1.564 GB, free: 24 kB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8416/2.138, allocations: 3.599 MB / 1.568 GB, free: 37.37 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/2.139, allocations: 0.8219 MB / 1.568 GB, free: 37.37 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003659/2.143, allocations: 1.397 MB / 1.57 GB, free: 37.37 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/2.157, allocations: 5.427 MB / 1.575 GB, free: 37.26 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/2.157, allocations: 0 / 1.575 GB, free: 37.26 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.254e-06/2.157, allocations: 2.562 kB / 1.575 GB, free: 37.26 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001366/2.157, allocations: 0 / 1.575 GB, free: 37.26 MB / 1.279 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.009318/2.166, allocations: 2.934 MB / 1.578 GB, free: 35.86 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/2.167, allocations: 10.06 kB / 1.578 GB, free: 35.86 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006782/2.173, allocations: 0.9359 MB / 1.579 GB, free: 35.73 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/2.185, allocations: 5.74 MB / 1.585 GB, free: 35.18 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/2.185, allocations: 100.6 kB / 1.585 GB, free: 35.18 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/2.185, allocations: 132.7 kB / 1.585 GB, free: 35.18 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/2.189, allocations: 1.584 MB / 1.586 GB, free: 34.99 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/2.189, allocations: 4.531 kB / 1.586 GB, free: 34.99 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/2.189, allocations: 56.69 kB / 1.586 GB, free: 34.99 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-05/2.189, allocations: 49.59 kB / 1.586 GB, free: 34.98 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/2.192, allocations: 1.332 MB / 1.588 GB, free: 34.97 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.01073/2.203, allocations: 7.599 MB / 1.595 GB, free: 31.27 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/2.205, allocations: 0.6701 MB / 1.596 GB, free: 31.16 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/2.205, allocations: 256.9 kB / 1.596 GB, free: 31.15 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/2.206, allocations: 188.6 kB / 1.596 GB, free: 30.96 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/2.206, allocations: 39.52 kB / 1.596 GB, free: 30.92 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 3.397e-06/2.206, allocations: 4.688 kB / 1.596 GB, free: 30.92 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002963/2.209, allocations: 1.042 MB / 1.597 GB, free: 30.58 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/2.209, allocations: 57.98 kB / 1.597 GB, free: 30.52 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/2.213, allocations: 2.363 MB / 1.6 GB, free: 30.27 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/2.213, allocations: 38.39 kB / 1.6 GB, free: 30.24 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/2.213, allocations: 0.9554 MB / 1.601 GB, free: 29.98 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/2.214, allocations: 133.7 kB / 1.601 GB, free: 29.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/2.214, allocations: 253.9 kB / 1.601 GB, free: 29.88 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/2.214, allocations: 352.6 kB / 1.601 GB, free: 29.57 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/2.215, allocations: 0.5142 MB / 1.602 GB, free: 29.56 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/2.217, allocations: 0.7896 MB / 1.603 GB, free: 29.25 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/2.219, allocations: 1.118 MB / 1.604 GB, free: 28.99 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/2.219, allocations: 5.625 kB / 1.604 GB, free: 28.99 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003428/2.222, allocations: 1.635 MB / 1.605 GB, free: 28.72 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/2.222, allocations: 11.53 kB / 1.605 GB, free: 28.72 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/2.222, allocations: 6.312 kB / 1.605 GB, free: 28.72 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/2.222, allocations: 38.89 kB / 1.605 GB, free: 28.71 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/2.223, allocations: 238.2 kB / 1.606 GB, free: 28.71 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009312/2.224, allocations: 1.568 MB / 1.607 GB, free: 27.23 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/2.227, allocations: 234.2 kB / 1.607 GB, free: 27.15 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/2.227, allocations: 47.48 kB / 1.607 GB, free: 27.15 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002187/2.229, allocations: 1.011 MB / 1.608 GB, free: 27.07 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00136/2.23, allocations: 0.7826 MB / 1.609 GB, free: 26.76 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001829/2.232, allocations: 1.104 MB / 1.61 GB, free: 26.48 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/2.232, allocations: 3.906 kB / 1.61 GB, free: 26.48 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003284/2.236, allocations: 1.596 MB / 1.612 GB, free: 26.22 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/2.236, allocations: 11.44 kB / 1.612 GB, free: 26.22 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/2.236, allocations: 8.031 kB / 1.612 GB, free: 26.22 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.414e-05/2.236, allocations: 41.75 kB / 1.612 GB, free: 26.21 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/2.237, allocations: 232.7 kB / 1.612 GB, free: 26.21 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000822/2.238, allocations: 1.566 MB / 1.614 GB, free: 24.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/2.24, allocations: 168.1 kB / 1.614 GB, free: 24.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/2.24, allocations: 42.38 kB / 1.614 GB, free: 24.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 (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.0003531/2.24, allocations: 234.8 kB / 1.614 GB, free: 24.51 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/2.241, allocations: 199.7 kB / 1.614 GB, free: 24.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/2.243, allocations: 0.7707 MB / 1.615 GB, free: 24.22 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/2.243, allocations: 2.75 kB / 1.615 GB, free: 24.22 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.243, allocations: 1.203 kB / 1.615 GB, free: 24.22 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/2.243, allocations: 8.75 kB / 1.615 GB, free: 24.22 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/2.247, allocations: 2.167 MB / 1.617 GB, free: 23.71 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/2.247, allocations: 6.875 kB / 1.617 GB, free: 23.71 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/2.248, allocations: 99.28 kB / 1.617 GB, free: 23.71 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.491e-05/2.248, allocations: 27.59 kB / 1.617 GB, free: 23.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/2.248, allocations: 13.25 kB / 1.617 GB, free: 23.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008186/2.249, allocations: 1.56 MB / 1.619 GB, free: 22.21 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.249, allocations: 0 / 1.619 GB, free: 22.21 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/2.251, allocations: 0.8869 MB / 1.62 GB, free: 21.79 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/2.252, allocations: 360.4 kB / 1.62 GB, free: 21.57 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/2.252, allocations: 9.438 kB / 1.62 GB, free: 21.57 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/2.253, allocations: 67.25 kB / 1.62 GB, free: 21.57 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/2.253, allocations: 23.92 kB / 1.62 GB, free: 21.57 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/2.253, allocations: 19.48 kB / 1.62 GB, free: 21.57 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002819/2.256, allocations: 1.639 MB / 1.622 GB, free: 21.42 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.9e-07/2.256, allocations: 2.297 kB / 1.622 GB, free: 21.42 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00314/2.259, allocations: 0.9006 MB / 1.623 GB, free: 21.32 MB / 1.279 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.001087/2.26, allocations: 449 kB / 1.623 GB, free: 21.18 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00389/2.264, allocations: 1.818 MB / 1.625 GB, free: 20.92 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/2.264, allocations: 0 / 1.625 GB, free: 20.92 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/2.265, allocations: 356.8 kB / 1.625 GB, free: 20.81 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005787/2.27, allocations: 1.244 MB / 1.626 GB, free: 20.59 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/2.277, allocations: 3.379 MB / 1.63 GB, free: 19.28 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/2.278, allocations: 1.535 MB / 1.631 GB, free: 18.53 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/2.279, allocations: 143.5 kB / 1.631 GB, free: 18.52 MB / 1.279 GB Notification: Performance of SimCode: time 1.292e-06/2.279, allocations: 0 / 1.631 GB, free: 18.52 MB / 1.279 GB Notification: Performance of Templates: time 0.06215/2.341, allocations: 47.4 MB / 1.678 GB, free: 4.238 MB / 1.279 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=480 -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