Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan",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.00127/0.00127, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 195.9 kB / 16.53 MB, free: 6.656 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.571/2.571, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.11 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2501, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.714/0.9642, allocations: 312.7 MB / 1.369 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02963/0.9939, allocations: 29.37 MB / 1.398 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.9968, allocations: 81.53 kB / 1.398 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008292/1.005, allocations: 4.889 MB / 1.403 GB, free: 2.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007021/1.012, allocations: 3.051 MB / 1.406 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/1.018, allocations: 2.611 MB / 1.408 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009252/1.027, allocations: 7.413 MB / 1.416 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00307/1.03, allocations: 2.061 MB / 1.418 GB, free: 8.902 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/1.035, allocations: 2.363 MB / 1.42 GB, free: 7.449 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/1.038, allocations: 1.476 MB / 1.421 GB, free: 6.523 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005025/1.038, allocations: 250.2 kB / 1.422 GB, free: 6.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006514/1.045, allocations: 3.595 MB / 1.425 GB, free: 4.547 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009777/1.046, allocations: 0.8027 MB / 1.426 GB, free: 3.973 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002156/1.048, allocations: 1.392 MB / 1.427 GB, free: 3.008 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00741/1.055, allocations: 5.311 MB / 1.433 GB, free: 14.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.055, allocations: 4 kB / 1.433 GB, free: 14.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.126e-06/1.055, allocations: 0 / 1.433 GB, free: 14.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.992e-05/1.055, allocations: 3.938 kB / 1.433 GB, free: 14.81 MB / 1.045 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.004518/1.06, allocations: 2.912 MB / 1.435 GB, free: 11.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.06, allocations: 8.031 kB / 1.435 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/1.06, allocations: 190.3 kB / 1.436 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/1.066, allocations: 0.9374 MB / 1.437 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009086/1.075, allocations: 5.63 MB / 1.442 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/1.075, allocations: 154.5 kB / 1.442 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.075, allocations: 135.9 kB / 1.442 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/1.078, allocations: 1.605 MB / 1.444 GB, free: 3.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/1.078, allocations: 7.938 kB / 1.444 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.078, allocations: 52 kB / 1.444 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/1.079, allocations: 54.48 kB / 1.444 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/1.082, allocations: 1.333 MB / 1.445 GB, free: 1.586 MB / 1.045 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.009903/1.092, allocations: 7.668 MB / 1.453 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/1.093, allocations: 0.6792 MB / 1.453 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/1.094, allocations: 261.4 kB / 1.454 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/1.094, allocations: 194.2 kB / 1.454 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/1.094, allocations: 42.5 kB / 1.454 GB, free: 8.148 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/1.094, allocations: 0 / 1.454 GB, free: 8.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.002645/1.097, allocations: 1.038 MB / 1.455 GB, free: 7.062 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/1.097, allocations: 55.41 kB / 1.455 GB, free: 6.996 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/1.1, allocations: 2.364 MB / 1.457 GB, free: 4.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/1.1, allocations: 37.7 kB / 1.457 GB, free: 4.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/1.101, allocations: 0.9574 MB / 1.458 GB, free: 3.602 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.101, allocations: 138.1 kB / 1.458 GB, free: 3.465 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.102, allocations: 262.3 kB / 1.459 GB, free: 3.203 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.102, allocations: 345.9 kB / 1.459 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.103, allocations: 0.5243 MB / 1.459 GB, free: 2.328 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/1.104, allocations: 0.7895 MB / 1.46 GB, free: 1.426 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/1.106, allocations: 1.128 MB / 1.461 GB, free: 212 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.106, allocations: 0 / 1.461 GB, free: 212 kB / 1.061 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003252/1.11, allocations: 1.64 MB / 1.463 GB, free: 14.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.11, allocations: 8.375 kB / 1.463 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.11, allocations: 12 kB / 1.463 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/1.11, allocations: 32.84 kB / 1.463 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.111, allocations: 243.7 kB / 1.463 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/1.112, allocations: 1.576 MB / 1.465 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/1.114, allocations: 243.8 kB / 1.465 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/1.114, allocations: 43.98 kB / 1.465 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00186/1.116, allocations: 1.018 MB / 1.466 GB, free: 11.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001328/1.117, allocations: 0.7816 MB / 1.467 GB, free: 10.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001879/1.119, allocations: 1.108 MB / 1.468 GB, free: 9.117 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/1.119, allocations: 4 kB / 1.468 GB, free: 9.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003141/1.122, allocations: 1.615 MB / 1.469 GB, free: 7.465 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.122, allocations: 9.875 kB / 1.469 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.122, allocations: 8.094 kB / 1.469 GB, free: 7.449 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-05/1.122, allocations: 36.83 kB / 1.47 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.123, allocations: 239.8 kB / 1.47 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/1.124, allocations: 1.568 MB / 1.471 GB, free: 5.473 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.126, allocations: 183.8 kB / 1.471 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/1.126, allocations: 39.98 kB / 1.471 GB, free: 5.254 MB / 1.076 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.0002477/1.126, allocations: 228 kB / 1.472 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.127, allocations: 205.4 kB / 1.472 GB, free: 4.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.128, allocations: 0.7629 MB / 1.473 GB, free: 4.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.128, allocations: 4 kB / 1.473 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.128, allocations: 4 kB / 1.473 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.128, allocations: 11.92 kB / 1.473 GB, free: 4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/1.132, allocations: 2.164 MB / 1.475 GB, free: 1.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.132, allocations: 4.219 kB / 1.475 GB, free: 1.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/1.132, allocations: 95.86 kB / 1.475 GB, free: 1.637 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-05/1.132, allocations: 32.84 kB / 1.475 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/1.133, allocations: 8 kB / 1.475 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/1.134, allocations: 1.558 MB / 1.476 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.134, allocations: 4 kB / 1.476 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.135, allocations: 0.8819 MB / 1.477 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/1.136, allocations: 354.3 kB / 1.478 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.136, allocations: 8 kB / 1.478 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/1.137, allocations: 67.92 kB / 1.478 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/1.137, allocations: 31.95 kB / 1.478 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/1.137, allocations: 23.97 kB / 1.478 GB, free: 14.46 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002372/1.139, allocations: 1.643 MB / 1.479 GB, free: 12.81 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.139, allocations: 0 / 1.479 GB, free: 12.81 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002145/1.142, allocations: 0.8891 MB / 1.48 GB, free: 11.92 MB / 1.092 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.00255/1.144, allocations: 1.791 MB / 1.482 GB, free: 10.05 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003806/1.148, allocations: 1.829 MB / 1.484 GB, free: 8.199 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.148, allocations: 5.125 kB / 1.484 GB, free: 8.195 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/1.149, allocations: 351 kB / 1.484 GB, free: 7.84 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/1.153, allocations: 1.254 MB / 1.485 GB, free: 6.621 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.176, allocations: 16.46 MB / 1.501 GB, free: 4.938 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.178, allocations: 1.537 MB / 1.503 GB, free: 3.363 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002023/1.18, allocations: 473.9 kB / 1.503 GB, free: 2.898 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.181, allocations: 0.8077 MB / 1.504 GB, free: 2.09 MB / 1.107 GB Notification: Performance of SimCode: time 6.71e-07/1.181, allocations: 0 / 1.504 GB, free: 2.09 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.61/7.791, allocations: 57.96 MB / 1.561 GB, free: 8.738 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/26.93, allocations: 3.938 kB / 1.561 GB, free: 8.734 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches