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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 183.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009464/0.0009465, allocations: 104.1 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 6.906 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3931, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.708/6.101, allocations: 1.914 GB / 3.143 GB, free: 67.67 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/6.102, allocations: 92.52 kB / 3.143 GB, free: 67.58 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.827/7.929, allocations: 442.9 MB / 3.576 GB, free: 88.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.986e-06/7.929, allocations: 0 / 3.576 GB, free: 88.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.553e-05/7.929, allocations: 16 kB / 3.576 GB, free: 88.77 MB / 1.167 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.002398/7.931, allocations: 0.9123 MB / 3.576 GB, free: 87.81 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/7.932, allocations: 12.78 kB / 3.576 GB, free: 87.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/7.933, allocations: 155.2 kB / 3.577 GB, free: 87.64 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/7.934, allocations: 0.6898 MB / 3.577 GB, free: 86.92 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/7.934, allocations: 33 kB / 3.577 GB, free: 86.89 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/7.934, allocations: 36 kB / 3.577 GB, free: 86.85 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/7.935, allocations: 446.3 kB / 3.578 GB, free: 86.39 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/7.935, allocations: 0 / 3.578 GB, free: 86.39 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/7.935, allocations: 19.94 kB / 3.578 GB, free: 86.37 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/7.935, allocations: 8 kB / 3.578 GB, free: 86.36 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/7.936, allocations: 323.7 kB / 3.578 GB, free: 86.04 MB / 1.167 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.001852/7.937, allocations: 1.996 MB / 3.58 GB, free: 83.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/7.938, allocations: 230.4 kB / 3.58 GB, free: 83.64 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/7.938, allocations: 303.3 kB / 3.581 GB, free: 83.29 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/7.938, allocations: 34.56 kB / 3.581 GB, free: 83.25 MB / 1.167 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/7.938, allocations: 0 / 3.581 GB, free: 83.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=24): time 0.0009184/7.939, allocations: 437.2 kB / 3.581 GB, free: 82.81 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/7.939, allocations: 51.41 kB / 3.581 GB, free: 82.75 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/7.94, allocations: 349.1 kB / 3.581 GB, free: 82.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/7.94, allocations: 29.7 kB / 3.581 GB, free: 82.37 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/7.94, allocations: 232.2 kB / 3.582 GB, free: 82.14 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/7.94, allocations: 90.73 kB / 3.582 GB, free: 82.05 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/7.94, allocations: 4 kB / 3.582 GB, free: 82.04 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/7.94, allocations: 346.8 kB / 3.582 GB, free: 81.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/7.94, allocations: 111.9 kB / 3.582 GB, free: 81.59 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/7.94, allocations: 198.2 kB / 3.582 GB, free: 81.36 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/7.941, allocations: 133.9 kB / 3.582 GB, free: 81.23 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/7.941, allocations: 0 / 3.582 GB, free: 81.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005068/7.941, allocations: 363.2 kB / 3.583 GB, free: 80.87 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/7.941, allocations: 8 kB / 3.583 GB, free: 80.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/7.941, allocations: 0 / 3.583 GB, free: 80.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/7.941, allocations: 7.984 kB / 3.583 GB, free: 80.85 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/7.941, allocations: 59.91 kB / 3.583 GB, free: 80.79 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/7.941, allocations: 4.188 kB / 3.583 GB, free: 80.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/7.942, allocations: 63.5 kB / 3.583 GB, free: 80.73 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/7.942, allocations: 12 kB / 3.583 GB, free: 80.71 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/7.942, allocations: 169.7 kB / 3.583 GB, free: 80.54 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/7.942, allocations: 43.48 kB / 3.583 GB, free: 80.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/7.943, allocations: 357 kB / 3.584 GB, free: 80.14 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/7.943, allocations: 0 / 3.584 GB, free: 80.14 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/7.943, allocations: 0 / 3.584 GB, free: 80.14 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/7.943, allocations: 7.938 kB / 3.584 GB, free: 80.13 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/7.944, allocations: 0.9097 MB / 3.584 GB, free: 79.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/7.944, allocations: 0 / 3.584 GB, free: 79.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/7.944, allocations: 55.91 kB / 3.584 GB, free: 79.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/7.944, allocations: 4 kB / 3.584 GB, free: 79.09 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/7.944, allocations: 4 kB / 3.584 GB, free: 79.08 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/7.944, allocations: 4.219 kB / 3.584 GB, free: 79.08 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/7.944, allocations: 4 kB / 3.584 GB, free: 79.07 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/7.945, allocations: 0.6962 MB / 3.585 GB, free: 78.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/7.945, allocations: 140.5 kB / 3.585 GB, free: 78.14 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/7.945, allocations: 8 kB / 3.585 GB, free: 78.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/7.945, allocations: 32.03 kB / 3.585 GB, free: 78.11 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/7.946, allocations: 19.94 kB / 3.585 GB, free: 78.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/7.946, allocations: 11.98 kB / 3.585 GB, free: 78.07 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002388/7.946, allocations: 279.1 kB / 3.586 GB, free: 77.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/7.946, allocations: 0 / 3.586 GB, free: 77.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009933/7.947, allocations: 255.8 kB / 3.586 GB, free: 77.55 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/7.949, allocations: 1.523 MB / 3.587 GB, free: 75.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005736/7.949, allocations: 280.7 kB / 3.588 GB, free: 75.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/7.949, allocations: 0 / 3.588 GB, free: 75.68 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/7.95, allocations: 143.7 kB / 3.588 GB, free: 75.54 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/7.951, allocations: 213.9 kB / 3.588 GB, free: 75.34 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/7.952, allocations: 0.9243 MB / 3.589 GB, free: 74.36 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/7.952, allocations: 0.8431 MB / 3.59 GB, free: 73.49 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003187/7.952, allocations: 95.3 kB / 3.59 GB, free: 73.39 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/7.952, allocations: 31.44 kB / 3.59 GB, free: 73.37 MB / 1.167 GB Notification: Performance of SimCode: time 9.22e-07/7.952, allocations: 8 kB / 3.59 GB, free: 73.36 MB / 1.167 GB Notification: Performance of Templates: time 0.03202/7.984, allocations: 25.31 MB / 3.615 GB, free: 48.14 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches