Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005554/0.005554, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001622/0.001622, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.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.284/2.284, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 71.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.238, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.714/0.9521, allocations: 304.9 MB / 1.464 GB, free: 3.656 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.032/0.9841, allocations: 27.45 MB / 1.491 GB, free: 8.125 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.9864, allocations: 79.62 kB / 1.491 GB, free: 8.047 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.9913, allocations: 2.215 MB / 1.493 GB, free: 5.824 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.9976, allocations: 3.073 MB / 1.496 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004927/1.003, allocations: 2.743 MB / 1.499 GB, free: 8 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008342/1.011, allocations: 7.253 MB / 1.506 GB, free: 8.742 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/1.013, allocations: 1.831 MB / 1.508 GB, free: 6.871 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/1.016, allocations: 2.246 MB / 1.51 GB, free: 4.617 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/1.018, allocations: 1.35 MB / 1.511 GB, free: 3.266 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002603/1.018, allocations: 216 kB / 1.511 GB, free: 3.055 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/1.023, allocations: 3.212 MB / 1.514 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006243/1.023, allocations: 0.7556 MB / 1.515 GB, free: 15.08 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.025, allocations: 1.264 MB / 1.516 GB, free: 13.81 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005088/1.03, allocations: 4.941 MB / 1.521 GB, free: 8.852 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/1.03, allocations: 0 / 1.521 GB, free: 8.852 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.082e-06/1.03, allocations: 0 / 1.521 GB, free: 8.852 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.912e-05/1.03, allocations: 0 / 1.521 GB, free: 8.852 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003745/1.033, allocations: 2.821 MB / 1.524 GB, free: 5.953 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/1.033, allocations: 8.031 kB / 1.524 GB, free: 5.945 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/1.034, allocations: 164.9 kB / 1.524 GB, free: 5.773 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/1.037, allocations: 0.7283 MB / 1.525 GB, free: 5.043 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008458/1.046, allocations: 5.669 MB / 1.53 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/1.046, allocations: 90.19 kB / 1.53 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.046, allocations: 112 kB / 1.531 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.048, allocations: 1.395 MB / 1.532 GB, free: 13.58 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.048, allocations: 7.938 kB / 1.532 GB, free: 13.57 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.048, allocations: 55.91 kB / 1.532 GB, free: 13.52 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/1.049, allocations: 38 kB / 1.532 GB, free: 13.48 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/1.051, allocations: 0.9794 MB / 1.533 GB, free: 12.5 MB / 1.201 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.00738/1.058, allocations: 7.67 MB / 1.54 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/1.059, allocations: 375.5 kB / 1.541 GB, free: 4.035 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/1.059, allocations: 122.4 kB / 1.541 GB, free: 3.914 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/1.059, allocations: 182.2 kB / 1.541 GB, free: 3.699 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.059, allocations: 38.55 kB / 1.541 GB, free: 3.652 MB / 1.201 GB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/1.059, allocations: 4 kB / 1.541 GB, free: 3.648 MB / 1.201 GB Notification: Performance of matching and sorting (n=18): time 0.001266/1.061, allocations: 0.5254 MB / 1.542 GB, free: 3.117 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.061, allocations: 63.33 kB / 1.542 GB, free: 3.043 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/1.063, allocations: 2.284 MB / 1.544 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/1.064, allocations: 33.7 kB / 1.544 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/1.064, allocations: 0.9881 MB / 1.545 GB, free: 15.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/1.064, allocations: 87.42 kB / 1.545 GB, free: 15.61 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/1.065, allocations: 286.3 kB / 1.545 GB, free: 15.32 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.065, allocations: 357.9 kB / 1.546 GB, free: 14.97 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/1.066, allocations: 448.9 kB / 1.546 GB, free: 14.53 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/1.067, allocations: 0.8958 MB / 1.547 GB, free: 13.42 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/1.069, allocations: 1.22 MB / 1.548 GB, free: 12.01 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.069, allocations: 8 kB / 1.548 GB, free: 12 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002425/1.071, allocations: 1.509 MB / 1.55 GB, free: 10.49 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.071, allocations: 12 kB / 1.55 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.071, allocations: 16 kB / 1.55 GB, free: 10.46 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/1.071, allocations: 20 kB / 1.55 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/1.072, allocations: 248.3 kB / 1.55 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/1.072, allocations: 31.86 kB / 1.55 GB, free: 10.17 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.073, allocations: 218.5 kB / 1.55 GB, free: 9.957 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/1.073, allocations: 55.98 kB / 1.55 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001336/1.074, allocations: 0.9317 MB / 1.551 GB, free: 8.965 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/1.076, allocations: 0.888 MB / 1.552 GB, free: 7.863 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001532/1.077, allocations: 1.195 MB / 1.553 GB, free: 6.477 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/1.077, allocations: 4 kB / 1.553 GB, free: 6.473 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002277/1.079, allocations: 1.492 MB / 1.555 GB, free: 4.973 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.079, allocations: 12 kB / 1.555 GB, free: 4.961 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.079, allocations: 19.92 kB / 1.555 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.079, allocations: 20 kB / 1.555 GB, free: 4.922 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/1.08, allocations: 244.2 kB / 1.555 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/1.08, allocations: 27.88 kB / 1.555 GB, free: 4.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009367/1.081, allocations: 139.4 kB / 1.555 GB, free: 4.52 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/1.081, allocations: 55.92 kB / 1.555 GB, free: 4.465 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001771/1.081, allocations: 247.8 kB / 1.555 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/1.082, allocations: 202.6 kB / 1.555 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/1.082, allocations: 176 kB / 1.556 GB, free: 3.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.082, allocations: 0 / 1.556 GB, free: 3.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.082, allocations: 0 / 1.556 GB, free: 3.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.082, allocations: 3.938 kB / 1.556 GB, free: 3.836 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/1.085, allocations: 1.87 MB / 1.557 GB, free: 1.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.085, allocations: 4 kB / 1.557 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/1.085, allocations: 47.91 kB / 1.558 GB, free: 1.801 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1.085, allocations: 7.984 kB / 1.558 GB, free: 1.793 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/1.085, allocations: 12.25 kB / 1.558 GB, free: 1.781 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.085, allocations: 8 kB / 1.558 GB, free: 1.773 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.085, allocations: 11.88 kB / 1.558 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/1.086, allocations: 0.5773 MB / 1.558 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/1.086, allocations: 339.6 kB / 1.558 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.086, allocations: 8.062 kB / 1.558 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/1.087, allocations: 55.94 kB / 1.559 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/1.087, allocations: 23.86 kB / 1.559 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/1.087, allocations: 12 kB / 1.559 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00197/1.089, allocations: 1.551 MB / 1.56 GB, free: 15.1 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 0 / 1.56 GB, free: 15.1 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001645/1.091, allocations: 0.827 MB / 1.561 GB, free: 14.27 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.001769/1.093, allocations: 1.462 MB / 1.562 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002392/1.095, allocations: 1.435 MB / 1.564 GB, free: 11.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.095, allocations: 4 kB / 1.564 GB, free: 11.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/1.095, allocations: 128.2 kB / 1.564 GB, free: 11.17 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.099, allocations: 1.066 MB / 1.565 GB, free: 10.13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.116, allocations: 13.76 MB / 1.578 GB, free: 11.7 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.117, allocations: 1.485 MB / 1.58 GB, free: 10.18 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001243/1.118, allocations: 457 kB / 1.58 GB, free: 9.734 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008368/1.119, allocations: 0.7219 MB / 1.581 GB, free: 9.012 MB / 1.248 GB Notification: Performance of SimCode: time 2.21e-07/1.119, allocations: 0 / 1.581 GB, free: 9.012 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.556/10.68, allocations: 51.85 MB / 1.632 GB, free: 5.75 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/23.84, allocations: 11.92 kB / 1.632 GB, free: 5.738 MB / 1.295 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches