Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_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.00783/0.007829, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.002164/0.002164, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.436/1.436, 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 12.0.0-master/package.mo): time 2.93/2.93, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003248/0.003248, allocations: 63.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3288, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7455/1.074, allocations: 179.4 MB / 1.417 GB, free: 14.93 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009883/1.084, allocations: 7.83 MB / 1.424 GB, free: 8.578 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000438/1.085, allocations: 20.12 kB / 1.424 GB, free: 8.57 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006415/1.085, allocations: 241.1 kB / 1.425 GB, free: 8.359 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/1.089, allocations: 1.211 MB / 1.426 GB, free: 7.438 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/1.091, allocations: 0.733 MB / 1.426 GB, free: 6.895 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001255/1.092, allocations: 1.067 MB / 1.428 GB, free: 6.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/1.092, allocations: 407.1 kB / 1.428 GB, free: 6.031 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/1.095, allocations: 0.965 MB / 1.429 GB, free: 5.453 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/1.096, allocations: 417 kB / 1.429 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-05/1.096, allocations: 41.53 kB / 1.429 GB, free: 5.215 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/1.097, allocations: 0.9398 MB / 1.43 GB, free: 4.695 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/1.098, allocations: 167.7 kB / 1.43 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/1.098, allocations: 241.5 kB / 1.431 GB, free: 4.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/1.099, allocations: 0.9387 MB / 1.432 GB, free: 3.855 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/1.099, allocations: 0 / 1.432 GB, free: 3.855 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.252e-06/1.099, allocations: 0 / 1.432 GB, free: 3.855 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.099, allocations: 2.5 kB / 1.432 GB, free: 3.855 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001131/1.1, allocations: 0.8182 MB / 1.432 GB, free: 3.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/1.1, allocations: 12.22 kB / 1.432 GB, free: 3.156 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/1.1, allocations: 79.64 kB / 1.432 GB, free: 3.082 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008952/1.101, allocations: 150.5 kB / 1.433 GB, free: 3.02 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/1.102, allocations: 417.3 kB / 1.433 GB, free: 2.652 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.102, allocations: 28.47 kB / 1.433 GB, free: 2.637 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/1.102, allocations: 46.33 kB / 1.433 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/1.103, allocations: 444.1 kB / 1.433 GB, free: 2.328 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.103, allocations: 4 kB / 1.433 GB, free: 2.324 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/1.103, allocations: 19.5 kB / 1.433 GB, free: 2.309 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/1.103, allocations: 10.78 kB / 1.433 GB, free: 2.309 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/1.103, allocations: 320.4 kB / 1.434 GB, free: 2.16 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/1.106, allocations: 2.016 MB / 1.436 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/1.106, allocations: 234.7 kB / 1.436 GB, free: 188 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/1.106, allocations: 152.5 kB / 1.436 GB, free: 112 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/1.107, allocations: 308 kB / 1.436 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.107, allocations: 37.72 kB / 1.436 GB, free: 15.75 MB / 1.139 GB Notification: Performance of pre-optimization done (n=24): time 1.804e-06/1.107, allocations: 0 / 1.436 GB, free: 15.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=24): time 0.001051/1.108, allocations: 470.2 kB / 1.437 GB, free: 15.38 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.108, allocations: 51.41 kB / 1.437 GB, free: 15.32 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/1.109, allocations: 398 kB / 1.437 GB, free: 14.93 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.109, allocations: 29.7 kB / 1.437 GB, free: 14.89 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/1.109, allocations: 240.5 kB / 1.438 GB, free: 14.65 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/1.109, allocations: 75.28 kB / 1.438 GB, free: 14.57 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.109, allocations: 73.62 kB / 1.438 GB, free: 14.5 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.109, allocations: 354.7 kB / 1.438 GB, free: 14.14 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/1.109, allocations: 107.9 kB / 1.438 GB, free: 14.04 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/1.11, allocations: 178.8 kB / 1.438 GB, free: 13.84 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/1.11, allocations: 313.5 kB / 1.439 GB, free: 13.51 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.11, allocations: 3.938 kB / 1.439 GB, free: 13.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006782/1.111, allocations: 365 kB / 1.439 GB, free: 13.14 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.111, allocations: 4 kB / 1.439 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.111, allocations: 224 / 1.439 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.111, allocations: 8 kB / 1.439 GB, free: 13.13 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/1.111, allocations: 55.91 kB / 1.439 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.111, allocations: 4 kB / 1.439 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.112, allocations: 39.72 kB / 1.439 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/1.112, allocations: 16 kB / 1.439 GB, free: 13.02 MB / 1.139 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.0001824/1.112, allocations: 169.7 kB / 1.439 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/1.112, allocations: 43.72 kB / 1.439 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/1.113, allocations: 376.2 kB / 1.44 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.113, allocations: 4 kB / 1.44 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.113, allocations: 2.812 kB / 1.44 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.113, allocations: 0 / 1.44 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/1.114, allocations: 0.9377 MB / 1.441 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.114, allocations: 4 kB / 1.441 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/1.114, allocations: 51.84 kB / 1.441 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.114, allocations: 7.938 kB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/1.114, allocations: 8.219 kB / 1.441 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.114, allocations: 5.094 kB / 1.441 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.115, allocations: 4 kB / 1.441 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.116, allocations: 0.6327 MB / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/1.116, allocations: 152.7 kB / 1.441 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/1.116, allocations: 11.98 kB / 1.441 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/1.116, allocations: 8 kB / 1.441 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/1.116, allocations: 24.03 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/1.116, allocations: 8 kB / 1.441 GB, free: 10.44 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003045/1.116, allocations: 283.1 kB / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of sort global known variables: time 2e-07/1.116, allocations: 0 / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00043/1.117, allocations: 115.8 kB / 1.442 GB, free: 10.05 MB / 1.139 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.001576/1.118, allocations: 1.242 MB / 1.443 GB, free: 8.766 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000653/1.119, allocations: 289.7 kB / 1.443 GB, free: 8.484 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/1.119, allocations: 448 / 1.443 GB, free: 8.484 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/1.119, allocations: 153.7 kB / 1.444 GB, free: 8.336 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.121, allocations: 223.7 kB / 1.444 GB, free: 8.125 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/1.126, allocations: 3.799 MB / 1.447 GB, free: 4.172 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/1.126, allocations: 0.8272 MB / 1.448 GB, free: 3.312 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002893/1.126, allocations: 99.41 kB / 1.448 GB, free: 3.211 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.127, allocations: 135.4 kB / 1.448 GB, free: 3.078 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/1.127, allocations: 4 kB / 1.448 GB, free: 3.074 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/1.164, allocations: 11.7 MB / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/9.568, allocations: 13.38 kB / 1.46 GB, free: 7.598 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches