Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.004845/0.004846, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001374/0.001374, allocations: 186.4 kB / 16.67 MB, free: 5.926 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.528/2.528, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2598, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6566/0.9164, allocations: 179.4 MB / 1.395 GB, free: 8.906 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008372/0.9248, allocations: 7.829 MB / 1.403 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.9251, allocations: 23.81 kB / 1.403 GB, free: 2.551 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.9257, allocations: 240.9 kB / 1.403 GB, free: 2.34 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.928, allocations: 1.219 MB / 1.404 GB, free: 1.414 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.9293, allocations: 0.739 MB / 1.405 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.9303, allocations: 1.077 MB / 1.406 GB, free: 252 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.9308, allocations: 409.4 kB / 1.407 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.9326, allocations: 0.828 MB / 1.407 GB, free: 15.51 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.9332, allocations: 431.5 kB / 1.408 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.9332, allocations: 36.97 kB / 1.408 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.9346, allocations: 0.9483 MB / 1.409 GB, free: 14.74 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.9347, allocations: 159.8 kB / 1.409 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.9349, allocations: 254.9 kB / 1.409 GB, free: 14.46 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.9361, allocations: 0.9365 MB / 1.41 GB, free: 13.89 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.9361, allocations: 1.375 kB / 1.41 GB, free: 13.89 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9361, allocations: 3.938 kB / 1.41 GB, free: 13.89 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.9361, allocations: 0 / 1.41 GB, free: 13.89 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001001/0.9371, allocations: 0.817 MB / 1.411 GB, free: 13.19 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.9371, allocations: 13.22 kB / 1.411 GB, free: 13.19 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.785e-05/0.9372, allocations: 76 kB / 1.411 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.938, allocations: 155.5 kB / 1.411 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.9386, allocations: 403.1 kB / 1.412 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.9386, allocations: 33.09 kB / 1.412 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.9387, allocations: 40.95 kB / 1.412 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.9393, allocations: 453.4 kB / 1.412 GB, free: 12.37 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.9393, allocations: 3.438 kB / 1.412 GB, free: 12.37 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.9394, allocations: 24.38 kB / 1.412 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.9394, allocations: 10.41 kB / 1.412 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.9399, allocations: 311.7 kB / 1.412 GB, free: 12.21 MB / 1.107 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.001921/0.9419, allocations: 2.021 MB / 1.414 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.9422, allocations: 237.6 kB / 1.415 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.9425, allocations: 147.8 kB / 1.415 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.943, allocations: 309.5 kB / 1.415 GB, free: 9.84 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.9431, allocations: 31.41 kB / 1.415 GB, free: 9.801 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.9431, allocations: 1.062 kB / 1.415 GB, free: 9.801 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.0009003/0.944, allocations: 452.8 kB / 1.415 GB, free: 9.574 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.944, allocations: 61.12 kB / 1.416 GB, free: 9.508 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.9444, allocations: 400.1 kB / 1.416 GB, free: 9.262 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.9444, allocations: 32.39 kB / 1.416 GB, free: 9.227 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.9445, allocations: 228.2 kB / 1.416 GB, free: 9.023 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.9446, allocations: 90.06 kB / 1.416 GB, free: 8.945 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.9447, allocations: 61.03 kB / 1.416 GB, free: 8.902 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9449, allocations: 354.1 kB / 1.417 GB, free: 8.555 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.9451, allocations: 114 kB / 1.417 GB, free: 8.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.9453, allocations: 182.8 kB / 1.417 GB, free: 8.371 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.9458, allocations: 307 kB / 1.417 GB, free: 8.176 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9458, allocations: 0 / 1.417 GB, free: 8.176 MB / 1.107 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005592/0.9464, allocations: 368.3 kB / 1.418 GB, free: 7.984 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9464, allocations: 8.094 kB / 1.418 GB, free: 7.984 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9464, allocations: 0 / 1.418 GB, free: 7.984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.9464, allocations: 6.562 kB / 1.418 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.9466, allocations: 63.62 kB / 1.418 GB, free: 7.965 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9466, allocations: 0 / 1.418 GB, free: 7.965 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.9469, allocations: 46.34 kB / 1.418 GB, free: 7.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.9469, allocations: 13.5 kB / 1.418 GB, free: 7.93 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001566/0.9471, allocations: 173.1 kB / 1.418 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.9471, allocations: 44.36 kB / 1.418 GB, free: 7.75 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006255/0.9478, allocations: 363.3 kB / 1.418 GB, free: 7.543 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9478, allocations: 6.922 kB / 1.418 GB, free: 7.539 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9478, allocations: 2.969 kB / 1.418 GB, free: 7.539 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9478, allocations: 0 / 1.418 GB, free: 7.539 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.949, allocations: 0.9392 MB / 1.419 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.949, allocations: 0 / 1.419 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.9492, allocations: 48.44 kB / 1.419 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9492, allocations: 10.44 kB / 1.419 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.9493, allocations: 5.469 kB / 1.419 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.9493, allocations: 2.938 kB / 1.419 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9493, allocations: 6.812 kB / 1.419 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.9501, allocations: 0.6316 MB / 1.42 GB, free: 6.359 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.9503, allocations: 156.9 kB / 1.42 GB, free: 6.211 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.9503, allocations: 2.062 kB / 1.42 GB, free: 6.211 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.9505, allocations: 17.61 kB / 1.42 GB, free: 6.199 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.9506, allocations: 26.41 kB / 1.42 GB, free: 6.184 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.9506, allocations: 6.406 kB / 1.42 GB, free: 6.184 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000243/0.9509, allocations: 282.3 kB / 1.42 GB, free: 6.008 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9509, allocations: 0 / 1.42 GB, free: 6.008 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003516/0.9512, allocations: 111.5 kB / 1.42 GB, free: 5.988 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001304/0.9525, allocations: 1.251 MB / 1.422 GB, free: 4.98 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.953, allocations: 282.9 kB / 1.422 GB, free: 4.855 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.953, allocations: 0 / 1.422 GB, free: 4.855 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.9533, allocations: 159.1 kB / 1.422 GB, free: 4.781 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.9542, allocations: 226.8 kB / 1.422 GB, free: 4.664 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.9583, allocations: 3.81 MB / 1.426 GB, free: 1.922 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.9587, allocations: 0.8272 MB / 1.427 GB, free: 1.062 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000243/0.959, allocations: 99.41 kB / 1.427 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.9592, allocations: 139.4 kB / 1.427 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of SimCode: time 2.5e-07/0.9592, allocations: 0 / 1.427 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/2.326, allocations: 11.7 MB / 1.438 GB, free: 5.367 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/18.85, allocations: 10.77 kB / 1.438 GB, free: 5.359 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches