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.007452/0.007452, allocations: 99.62 kB / 15.73 MB, free: 6.445 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.001722/0.001722, allocations: 191.3 kB / 16.67 MB, free: 6.348 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.61/2.61, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 72.08 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2888, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8332/1.122, allocations: 179.4 MB / 1.341 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01195/1.134, allocations: 7.833 MB / 1.349 GB, free: 5.105 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/1.135, allocations: 20.53 kB / 1.349 GB, free: 5.098 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/1.136, allocations: 239.2 kB / 1.349 GB, free: 4.934 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0047/1.141, allocations: 1.272 MB / 1.351 GB, free: 4.262 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/1.143, allocations: 0.7401 MB / 1.351 GB, free: 3.898 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002097/1.145, allocations: 1.082 MB / 1.352 GB, free: 3.414 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008088/1.146, allocations: 409.9 kB / 1.353 GB, free: 3.234 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/1.15, allocations: 0.8558 MB / 1.354 GB, free: 2.867 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/1.151, allocations: 430.5 kB / 1.354 GB, free: 2.695 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/1.151, allocations: 36.59 kB / 1.354 GB, free: 2.695 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/1.154, allocations: 0.9564 MB / 1.355 GB, free: 2.312 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/1.154, allocations: 157 kB / 1.355 GB, free: 2.246 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/1.154, allocations: 246.1 kB / 1.355 GB, free: 2.105 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/1.157, allocations: 0.9369 MB / 1.356 GB, free: 1.773 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.157, allocations: 1.156 kB / 1.356 GB, free: 1.773 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/1.157, allocations: 4 kB / 1.356 GB, free: 1.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.157, allocations: 0 / 1.356 GB, free: 1.77 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.001281/1.158, allocations: 0.825 MB / 1.357 GB, free: 1.117 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.158, allocations: 10 kB / 1.357 GB, free: 1.117 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.236e-05/1.158, allocations: 76.31 kB / 1.357 GB, free: 1.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009478/1.159, allocations: 163.9 kB / 1.357 GB, free: 1.008 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/1.16, allocations: 400.8 kB / 1.358 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/1.16, allocations: 32.69 kB / 1.358 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/1.16, allocations: 37.41 kB / 1.358 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/1.16, allocations: 445.2 kB / 1.358 GB, free: 476 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.161, allocations: 9.047 kB / 1.358 GB, free: 468 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/1.161, allocations: 19.28 kB / 1.358 GB, free: 452 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.161, allocations: 9.625 kB / 1.358 GB, free: 452 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/1.161, allocations: 324.7 kB / 1.358 GB, free: 344 kB / 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.002183/1.163, allocations: 2.01 MB / 1.36 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/1.164, allocations: 240 kB / 1.361 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/1.164, allocations: 150.6 kB / 1.361 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/1.165, allocations: 306 kB / 1.361 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.165, allocations: 35.69 kB / 1.361 GB, free: 14.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/1.165, allocations: 0 / 1.361 GB, free: 14.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.001082/1.166, allocations: 453 kB / 1.362 GB, free: 14.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.166, allocations: 58.62 kB / 1.362 GB, free: 14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/1.166, allocations: 397.8 kB / 1.362 GB, free: 13.81 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/1.166, allocations: 31.05 kB / 1.362 GB, free: 13.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/1.167, allocations: 237.2 kB / 1.362 GB, free: 13.58 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/1.167, allocations: 85.31 kB / 1.362 GB, free: 13.51 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.167, allocations: 60.97 kB / 1.362 GB, free: 13.47 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.167, allocations: 358.4 kB / 1.363 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/1.167, allocations: 113.7 kB / 1.363 GB, free: 13.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/1.167, allocations: 178 kB / 1.363 GB, free: 13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/1.168, allocations: 309.2 kB / 1.363 GB, free: 12.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.168, allocations: 1.031 kB / 1.363 GB, free: 12.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006522/1.169, allocations: 366.6 kB / 1.364 GB, free: 12.69 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.169, allocations: 6.812 kB / 1.364 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.169, allocations: 1.344 kB / 1.364 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.169, allocations: 3.844 kB / 1.364 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/1.169, allocations: 57.12 kB / 1.364 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.169, allocations: 9.703 kB / 1.364 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.169, allocations: 44.88 kB / 1.364 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/1.169, allocations: 14.34 kB / 1.364 GB, free: 12.65 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.0001793/1.17, allocations: 169.3 kB / 1.364 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/1.17, allocations: 42.25 kB / 1.364 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/1.17, allocations: 372.1 kB / 1.364 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.17, allocations: 2.156 kB / 1.364 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.17, allocations: 4 kB / 1.364 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.17, allocations: 7.828 kB / 1.364 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.172, allocations: 0.9375 MB / 1.365 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.172, allocations: 1.344 kB / 1.365 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/1.172, allocations: 47.52 kB / 1.365 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.172, allocations: 6.844 kB / 1.365 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.172, allocations: 8.781 kB / 1.365 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/1.172, allocations: 8.781 kB / 1.365 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.172, allocations: 1.562 kB / 1.365 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/1.173, allocations: 0.6388 MB / 1.366 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/1.173, allocations: 152.7 kB / 1.366 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/1.173, allocations: 6.812 kB / 1.366 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/1.174, allocations: 14.42 kB / 1.366 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/1.174, allocations: 13.08 kB / 1.366 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/1.174, allocations: 19.98 kB / 1.366 GB, free: 11.17 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003477/1.174, allocations: 285.8 kB / 1.366 GB, free: 10.99 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.174, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000517/1.175, allocations: 109.9 kB / 1.367 GB, free: 10.97 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.001543/1.176, allocations: 1.239 MB / 1.368 GB, free: 9.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005986/1.177, allocations: 288.2 kB / 1.368 GB, free: 9.848 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.177, allocations: 0 / 1.368 GB, free: 9.848 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.177, allocations: 151.2 kB / 1.368 GB, free: 9.781 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.178, allocations: 228.4 kB / 1.368 GB, free: 9.664 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/1.183, allocations: 3.817 MB / 1.372 GB, free: 6.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/1.183, allocations: 0.8255 MB / 1.373 GB, free: 6.219 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003505/1.184, allocations: 99.81 kB / 1.373 GB, free: 6.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.184, allocations: 136.9 kB / 1.373 GB, free: 6.062 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/1.184, allocations: 0 / 1.373 GB, free: 6.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/1.219, allocations: 11.69 MB / 1.385 GB, free: 332 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/9.579, allocations: 18.11 kB / 1.385 GB, free: 316 kB / 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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