Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.004827/0.004827, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001435/0.001435, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.412/2.412, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 72.11 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6211, allocations: 159.1 MB / 1.22 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1636/0.7847, allocations: 167.5 MB / 1.384 GB, free: 9.762 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006788/0.7916, allocations: 6.538 MB / 1.39 GB, free: 3.203 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.7918, allocations: 11.94 kB / 1.39 GB, free: 3.191 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.7922, allocations: 170.8 kB / 1.39 GB, free: 3.023 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.7937, allocations: 0.8478 MB / 1.391 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.7944, allocations: 329.3 kB / 1.391 GB, free: 1.852 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006991/0.7951, allocations: 0.7211 MB / 1.392 GB, free: 1.125 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.7955, allocations: 275.3 kB / 1.392 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.7963, allocations: 0.5448 MB / 1.393 GB, free: 312 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.7967, allocations: 275 kB / 1.393 GB, free: 36 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.7967, allocations: 24 kB / 1.393 GB, free: 12 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.7972, allocations: 339.2 kB / 1.394 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.7974, allocations: 103.7 kB / 1.394 GB, free: 15.58 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.7975, allocations: 167.1 kB / 1.394 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.7981, allocations: 470.1 kB / 1.394 GB, free: 14.96 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7981, allocations: 0 / 1.394 GB, free: 14.96 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7981, allocations: 3.938 kB / 1.394 GB, free: 14.95 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.7981, allocations: 0 / 1.394 GB, free: 14.95 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007551/0.7989, allocations: 0.6307 MB / 1.395 GB, free: 14.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.7989, allocations: 8.031 kB / 1.395 GB, free: 14.27 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.799, allocations: 62.48 kB / 1.395 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.7992, allocations: 67.66 kB / 1.395 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.7997, allocations: 325.5 kB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.7997, allocations: 16.56 kB / 1.395 GB, free: 13.76 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.7997, allocations: 28 kB / 1.395 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.8002, allocations: 319.6 kB / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8002, allocations: 0 / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.8003, allocations: 12 kB / 1.396 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.8003, allocations: 8 kB / 1.396 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.8007, allocations: 209.4 kB / 1.396 GB, free: 13.17 MB / 1.123 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.001378/0.8021, allocations: 1.531 MB / 1.397 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.8023, allocations: 114.5 kB / 1.398 GB, free: 11.38 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.8025, allocations: 92.8 kB / 1.398 GB, free: 11.29 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.803, allocations: 307.2 kB / 1.398 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.803, allocations: 30.56 kB / 1.398 GB, free: 10.89 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.8031, allocations: 0 / 1.398 GB, free: 10.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0006807/0.8037, allocations: 280.2 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.8038, allocations: 63.33 kB / 1.398 GB, free: 10.54 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.8041, allocations: 304.6 kB / 1.399 GB, free: 10.24 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.8041, allocations: 25.7 kB / 1.399 GB, free: 10.21 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.8042, allocations: 192.3 kB / 1.399 GB, free: 10.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.8043, allocations: 43.59 kB / 1.399 GB, free: 9.973 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.8044, allocations: 45.59 kB / 1.399 GB, free: 9.922 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8045, allocations: 334.8 kB / 1.399 GB, free: 9.586 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.8046, allocations: 67.86 kB / 1.399 GB, free: 9.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.8048, allocations: 111.1 kB / 1.399 GB, free: 9.395 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.8052, allocations: 184.9 kB / 1.4 GB, free: 9.195 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8052, allocations: 0 / 1.4 GB, free: 9.195 MB / 1.123 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003926/0.8056, allocations: 221.3 kB / 1.4 GB, free: 8.973 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.8056, allocations: 4 kB / 1.4 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.8056, allocations: 4 kB / 1.4 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.8056, allocations: 0 / 1.4 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.8058, allocations: 39.97 kB / 1.4 GB, free: 8.926 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.8058, allocations: 0 / 1.4 GB, free: 8.926 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.8059, allocations: 31.81 kB / 1.4 GB, free: 8.895 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.806, allocations: 8 kB / 1.4 GB, free: 8.887 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001292/0.8061, allocations: 157.8 kB / 1.4 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.8061, allocations: 27.81 kB / 1.4 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.8066, allocations: 212.3 kB / 1.4 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8066, allocations: 0 / 1.4 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8066, allocations: 0 / 1.4 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8066, allocations: 0 / 1.4 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.8075, allocations: 0.6835 MB / 1.401 GB, free: 7.715 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8075, allocations: 0 / 1.401 GB, free: 7.715 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.8077, allocations: 32.14 kB / 1.401 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8077, allocations: 4 kB / 1.401 GB, free: 7.68 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.8077, allocations: 7.938 kB / 1.401 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.8077, allocations: 4 kB / 1.401 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8077, allocations: 0 / 1.401 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.8081, allocations: 341.2 kB / 1.401 GB, free: 7.297 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.8082, allocations: 120.8 kB / 1.401 GB, free: 7.16 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.8083, allocations: 11.92 kB / 1.401 GB, free: 7.148 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.8084, allocations: 8 kB / 1.401 GB, free: 7.141 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.8085, allocations: 15.98 kB / 1.401 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8085, allocations: 4 kB / 1.401 GB, free: 7.121 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002021/0.8087, allocations: 227 kB / 1.402 GB, free: 6.902 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8087, allocations: 0 / 1.402 GB, free: 6.902 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003121/0.809, allocations: 71.89 kB / 1.402 GB, free: 6.832 MB / 1.123 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 (13): * Single equations (assignments): 13 * 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.0009201/0.8099, allocations: 0.9408 MB / 1.403 GB, free: 5.852 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.8103, allocations: 159.8 kB / 1.403 GB, free: 5.695 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8103, allocations: 4 kB / 1.403 GB, free: 5.691 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.8105, allocations: 75.89 kB / 1.403 GB, free: 5.617 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.8112, allocations: 152 kB / 1.403 GB, free: 5.473 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.8143, allocations: 2.806 MB / 1.406 GB, free: 2.512 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.8147, allocations: 0.791 MB / 1.406 GB, free: 1.691 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.8149, allocations: 58.92 kB / 1.407 GB, free: 1.633 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.815, allocations: 91.41 kB / 1.407 GB, free: 1.547 MB / 1.123 GB Notification: Performance of SimCode: time 2.2e-07/0.815, allocations: 0 / 1.407 GB, free: 1.547 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.666/2.481, allocations: 8.112 MB / 1.415 GB, free: 9.609 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.32/23.8, allocations: 18.84 kB / 1.415 GB, free: 9.598 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches