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.007111/0.007111, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002125/0.002125, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.483/2.483, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 64.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2658, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7859/1.052, allocations: 312.7 MB / 1.526 GB, free: 12.5 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03279/1.085, allocations: 29.38 MB / 1.554 GB, free: 15.04 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/1.087, allocations: 87.56 kB / 1.554 GB, free: 14.95 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005268/1.092, allocations: 2.387 MB / 1.557 GB, free: 12.55 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006341/1.099, allocations: 3.174 MB / 1.56 GB, free: 9.367 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/1.104, allocations: 2.756 MB / 1.562 GB, free: 6.621 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.008702/1.113, allocations: 7.558 MB / 1.57 GB, free: 15.04 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/1.115, allocations: 2.083 MB / 1.572 GB, free: 12.92 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/1.118, allocations: 2.394 MB / 1.574 GB, free: 10.52 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/1.12, allocations: 1.527 MB / 1.576 GB, free: 8.992 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002981/1.121, allocations: 256 kB / 1.576 GB, free: 8.742 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/1.126, allocations: 3.613 MB / 1.579 GB, free: 5.121 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006808/1.127, allocations: 0.8258 MB / 1.58 GB, free: 4.293 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/1.128, allocations: 1.396 MB / 1.582 GB, free: 2.891 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005723/1.134, allocations: 5.451 MB / 1.587 GB, free: 13.42 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/1.134, allocations: 0 / 1.587 GB, free: 13.42 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.152e-06/1.134, allocations: 0 / 1.587 GB, free: 13.42 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.158e-05/1.134, allocations: 0 / 1.587 GB, free: 13.42 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.004027/1.138, allocations: 3.028 MB / 1.59 GB, free: 10.32 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/1.138, allocations: 8.031 kB / 1.59 GB, free: 10.31 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/1.138, allocations: 194.2 kB / 1.59 GB, free: 10.11 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/1.143, allocations: 0.9466 MB / 1.591 GB, free: 9.16 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/1.152, allocations: 5.759 MB / 1.597 GB, free: 3.348 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/1.152, allocations: 106.6 kB / 1.597 GB, free: 3.242 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.152, allocations: 132 kB / 1.597 GB, free: 3.113 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/1.155, allocations: 1.586 MB / 1.598 GB, free: 1.461 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.155, allocations: 11.92 kB / 1.598 GB, free: 1.449 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.155, allocations: 55.94 kB / 1.598 GB, free: 1.395 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/1.155, allocations: 50.48 kB / 1.598 GB, free: 1.344 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/1.158, allocations: 1.321 MB / 1.6 GB, free: 16 kB / 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.00885/1.167, allocations: 7.627 MB / 1.607 GB, free: 7.863 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/1.169, allocations: 0.664 MB / 1.608 GB, free: 7.172 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/1.169, allocations: 252.7 kB / 1.608 GB, free: 6.922 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/1.17, allocations: 194.2 kB / 1.608 GB, free: 6.695 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.17, allocations: 39.16 kB / 1.608 GB, free: 6.648 MB / 1.295 GB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/1.17, allocations: 480 / 1.608 GB, free: 6.648 MB / 1.295 GB Notification: Performance of matching and sorting (n=35): time 0.00244/1.172, allocations: 1.056 MB / 1.609 GB, free: 5.547 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/1.172, allocations: 59.34 kB / 1.609 GB, free: 5.477 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/1.175, allocations: 2.361 MB / 1.612 GB, free: 3.098 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/1.175, allocations: 41.69 kB / 1.612 GB, free: 3.051 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/1.176, allocations: 0.9742 MB / 1.613 GB, free: 2.066 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/1.176, allocations: 130.9 kB / 1.613 GB, free: 1.938 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/1.177, allocations: 258.4 kB / 1.613 GB, free: 1.676 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.177, allocations: 345.9 kB / 1.613 GB, free: 1.332 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/1.178, allocations: 0.5242 MB / 1.614 GB, free: 0.8047 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.179, allocations: 0.7892 MB / 1.615 GB, free: 15.9 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.181, allocations: 1.12 MB / 1.616 GB, free: 14.69 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.181, allocations: 0 / 1.616 GB, free: 14.69 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002945/1.184, allocations: 1.657 MB / 1.617 GB, free: 13 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.184, allocations: 8 kB / 1.617 GB, free: 12.99 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.184, allocations: 11.98 kB / 1.617 GB, free: 12.98 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/1.184, allocations: 37.23 kB / 1.617 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.185, allocations: 243.6 kB / 1.618 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/1.186, allocations: 1.568 MB / 1.619 GB, free: 11 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.188, allocations: 250.8 kB / 1.619 GB, free: 10.75 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/1.188, allocations: 39.98 kB / 1.62 GB, free: 10.71 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001634/1.19, allocations: 1.014 MB / 1.621 GB, free: 9.695 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001228/1.191, allocations: 0.7793 MB / 1.621 GB, free: 8.801 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001789/1.193, allocations: 1.097 MB / 1.622 GB, free: 7.605 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/1.193, allocations: 4 kB / 1.622 GB, free: 7.602 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002779/1.195, allocations: 1.617 MB / 1.624 GB, free: 5.953 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.195, allocations: 12 kB / 1.624 GB, free: 5.941 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.195, allocations: 8 kB / 1.624 GB, free: 5.934 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.017e-05/1.195, allocations: 32.84 kB / 1.624 GB, free: 5.898 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/1.196, allocations: 239.7 kB / 1.624 GB, free: 5.664 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/1.197, allocations: 1.572 MB / 1.626 GB, free: 3.953 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.199, allocations: 163.5 kB / 1.626 GB, free: 3.793 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/1.199, allocations: 43.98 kB / 1.626 GB, free: 3.75 MB / 1.311 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.0001897/1.199, allocations: 224.5 kB / 1.626 GB, free: 3.523 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.199, allocations: 218.5 kB / 1.626 GB, free: 3.309 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/1.201, allocations: 0.7589 MB / 1.627 GB, free: 2.516 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.201, allocations: 8 kB / 1.627 GB, free: 2.508 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.201, allocations: 0 / 1.627 GB, free: 2.508 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/1.201, allocations: 3.984 kB / 1.627 GB, free: 2.504 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.204, allocations: 2.16 MB / 1.629 GB, free: 248 kB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.204, allocations: 0 / 1.629 GB, free: 248 kB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/1.204, allocations: 99.86 kB / 1.629 GB, free: 148 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-05/1.205, allocations: 36.8 kB / 1.629 GB, free: 108 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/1.205, allocations: 12 kB / 1.629 GB, free: 96 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000992/1.206, allocations: 1.562 MB / 1.631 GB, free: 14.39 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.206, allocations: 4.031 kB / 1.631 GB, free: 14.39 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.207, allocations: 0.9017 MB / 1.632 GB, free: 13.43 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/1.207, allocations: 371.4 kB / 1.632 GB, free: 13.05 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/1.208, allocations: 8 kB / 1.632 GB, free: 13.04 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/1.209, allocations: 63.92 kB / 1.632 GB, free: 12.98 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/1.209, allocations: 35.84 kB / 1.632 GB, free: 12.94 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/1.209, allocations: 19.98 kB / 1.632 GB, free: 12.92 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002141/1.211, allocations: 1.639 MB / 1.634 GB, free: 11.27 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.5e-07/1.211, allocations: 0 / 1.634 GB, free: 11.27 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.001789/1.213, allocations: 0.9009 MB / 1.635 GB, free: 10.37 MB / 1.326 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.002393/1.215, allocations: 1.781 MB / 1.636 GB, free: 8.516 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.003431/1.218, allocations: 1.814 MB / 1.638 GB, free: 6.68 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.218, allocations: 0 / 1.638 GB, free: 6.68 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0006764/1.219, allocations: 355 kB / 1.639 GB, free: 6.32 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.223, allocations: 1.25 MB / 1.64 GB, free: 5.105 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.244, allocations: 14.77 MB / 1.654 GB, free: 5.867 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.245, allocations: 1.537 MB / 1.656 GB, free: 4.297 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001482/1.246, allocations: 473.8 kB / 1.656 GB, free: 3.832 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000992/1.247, allocations: 0.7961 MB / 1.657 GB, free: 3.035 MB / 1.342 GB Notification: Performance of SimCode: time 3.71e-07/1.247, allocations: 0 / 1.657 GB, free: 3.035 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.662/3.909, allocations: 56.24 MB / 1.712 GB, free: 11.42 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/21.47, allocations: 7.766 kB / 1.712 GB, free: 11.41 MB / 1.404 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