Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_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.003657/0.003657, allocations: 98.16 kB / 15.73 MB, free: 6.039 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.001089/0.001089, allocations: 204.7 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.358/2.358, allocations: 437.1 MB / 0.7106 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 71.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2441, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6346/0.8788, allocations: 179.4 MB / 1.341 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00844/0.8872, allocations: 7.825 MB / 1.349 GB, free: 5.516 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.8876, allocations: 20.41 kB / 1.349 GB, free: 5.508 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.8882, allocations: 241.3 kB / 1.349 GB, free: 5.344 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.8906, allocations: 1.225 MB / 1.35 GB, free: 4.695 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.892, allocations: 0.7298 MB / 1.351 GB, free: 4.336 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009344/0.8929, allocations: 1.078 MB / 1.352 GB, free: 3.852 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.8934, allocations: 411.6 kB / 1.353 GB, free: 3.672 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.8952, allocations: 0.8156 MB / 1.353 GB, free: 3.328 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.8957, allocations: 439.9 kB / 1.354 GB, free: 3.148 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.8958, allocations: 37.5 kB / 1.354 GB, free: 3.148 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.8971, allocations: 0.9532 MB / 1.355 GB, free: 2.766 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.8972, allocations: 160.9 kB / 1.355 GB, free: 2.695 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.8974, allocations: 241.8 kB / 1.355 GB, free: 2.559 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.8985, allocations: 0.9421 MB / 1.356 GB, free: 2.219 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.8985, allocations: 0 / 1.356 GB, free: 2.219 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8985, allocations: 1.719 kB / 1.356 GB, free: 2.219 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8986, allocations: 4 kB / 1.356 GB, free: 2.215 MB / 1.029 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.001025/0.8996, allocations: 0.8227 MB / 1.357 GB, free: 1.566 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.8996, allocations: 10.03 kB / 1.357 GB, free: 1.566 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.977e-05/0.8997, allocations: 76.62 kB / 1.357 GB, free: 1.504 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.9005, allocations: 154.2 kB / 1.357 GB, free: 1.465 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.901, allocations: 405.4 kB / 1.358 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.9011, allocations: 28.69 kB / 1.358 GB, free: 1.152 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.9011, allocations: 37.84 kB / 1.358 GB, free: 1.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.9018, allocations: 448.6 kB / 1.358 GB, free: 0.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9018, allocations: 1.312 kB / 1.358 GB, free: 0.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.9018, allocations: 19.03 kB / 1.358 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.9019, allocations: 9.719 kB / 1.358 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.9024, allocations: 324.5 kB / 1.358 GB, free: 0.7969 MB / 1.029 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.0019/0.9043, allocations: 2.011 MB / 1.36 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.9047, allocations: 235.7 kB / 1.361 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.9049, allocations: 147.8 kB / 1.361 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/0.9055, allocations: 313.9 kB / 1.361 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.9055, allocations: 39.69 kB / 1.361 GB, free: 14.69 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.9055, allocations: 1.156 kB / 1.361 GB, free: 14.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.0008946/0.9064, allocations: 452.8 kB / 1.361 GB, free: 14.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.9065, allocations: 58.12 kB / 1.362 GB, free: 14.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.9068, allocations: 401.8 kB / 1.362 GB, free: 14.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.9069, allocations: 30.7 kB / 1.362 GB, free: 14.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.907, allocations: 238.9 kB / 1.362 GB, free: 14.03 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.9071, allocations: 79.17 kB / 1.362 GB, free: 13.97 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.9072, allocations: 61.55 kB / 1.362 GB, free: 13.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9073, allocations: 358.1 kB / 1.363 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.9076, allocations: 113.6 kB / 1.363 GB, free: 13.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.9078, allocations: 181.6 kB / 1.363 GB, free: 13.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.9083, allocations: 306.6 kB / 1.363 GB, free: 13.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9083, allocations: 1.344 kB / 1.363 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005765/0.9089, allocations: 368.9 kB / 1.364 GB, free: 13.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.9089, allocations: 8 kB / 1.364 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.9089, allocations: 1.562 kB / 1.364 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9089, allocations: 3.188 kB / 1.364 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.9092, allocations: 58.33 kB / 1.364 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9092, allocations: 2.875 kB / 1.364 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.9094, allocations: 48.16 kB / 1.364 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.9094, allocations: 14.84 kB / 1.364 GB, free: 13.1 MB / 1.045 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.0001568/0.9096, allocations: 168.5 kB / 1.364 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.9097, allocations: 42.72 kB / 1.364 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.9103, allocations: 373.3 kB / 1.364 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9103, allocations: 2.438 kB / 1.364 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9103, allocations: 1.188 kB / 1.364 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9103, allocations: 6.625 kB / 1.364 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.9116, allocations: 0.9381 MB / 1.365 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9116, allocations: 1.375 kB / 1.365 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.9118, allocations: 48.25 kB / 1.365 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.9118, allocations: 7.188 kB / 1.365 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.9118, allocations: 8 kB / 1.365 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9119, allocations: 3.125 kB / 1.365 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9119, allocations: 2.188 kB / 1.365 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.9127, allocations: 0.6361 MB / 1.366 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.9129, allocations: 151.7 kB / 1.366 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.9129, allocations: 12.11 kB / 1.366 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.9131, allocations: 9.375 kB / 1.366 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.9132, allocations: 22.06 kB / 1.366 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.9132, allocations: 11.31 kB / 1.366 GB, free: 11.57 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002556/0.9135, allocations: 277.9 kB / 1.366 GB, free: 11.4 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.924e-06/0.9135, allocations: 4.062 kB / 1.366 GB, free: 11.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003674/0.9139, allocations: 114.3 kB / 1.366 GB, free: 11.37 MB / 1.045 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.001348/0.9152, allocations: 1.25 MB / 1.368 GB, free: 10.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.9158, allocations: 295.1 kB / 1.368 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9158, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.916, allocations: 147.2 kB / 1.368 GB, free: 10.17 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/0.917, allocations: 216.3 kB / 1.368 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.9211, allocations: 3.811 MB / 1.372 GB, free: 7.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.9215, allocations: 0.83 MB / 1.373 GB, free: 6.617 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.9218, allocations: 99.78 kB / 1.373 GB, free: 6.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.922, allocations: 140.1 kB / 1.373 GB, free: 6.457 MB / 1.045 GB Notification: Performance of SimCode: time 2.01e-07/0.922, allocations: 1.375 kB / 1.373 GB, free: 6.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.953, allocations: 11.7 MB / 1.385 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/15.19, allocations: 10.52 kB / 1.385 GB, free: 0.707 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches