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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001696, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002807/0.002807, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.8 kB / 0.8986 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2181/0.5562, allocations: 177 MB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.5676, allocations: 7.761 MB / 1.233 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/0.5686, allocations: 23.88 kB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009961/0.5696, allocations: 202.8 kB / 1.233 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.5732, allocations: 1.148 MB / 1.234 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.5752, allocations: 0.6815 MB / 1.235 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.5766, allocations: 1.072 MB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.5773, allocations: 405.2 kB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.5801, allocations: 0.8224 MB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.581, allocations: 462.4 kB / 1.237 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.581, allocations: 36 kB / 1.237 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.5829, allocations: 0.9741 MB / 1.238 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.5831, allocations: 167.5 kB / 1.239 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.5834, allocations: 242.8 kB / 1.239 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.5852, allocations: 0.9816 MB / 1.24 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5853, allocations: 7.938 kB / 1.24 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5853, allocations: 0 / 1.24 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.5853, allocations: 0 / 1.24 GB, free: 8.016 MB / 0.9981 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.001227/0.5865, allocations: 0.8041 MB / 1.241 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5866, allocations: 12.62 kB / 1.241 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.5875, allocations: 151.3 kB / 1.241 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.5881, allocations: 383.4 kB / 1.241 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.5881, allocations: 29 kB / 1.241 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.5882, allocations: 36 kB / 1.241 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.5889, allocations: 446.4 kB / 1.242 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.589, allocations: 3.938 kB / 1.242 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.589, allocations: 19.94 kB / 1.242 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.589, allocations: 8 kB / 1.242 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.5896, allocations: 323.8 kB / 1.242 GB, free: 5.711 MB / 0.9981 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.002094/0.5917, allocations: 2.011 MB / 1.244 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.5921, allocations: 242.5 kB / 1.244 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.5924, allocations: 144.8 kB / 1.244 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.593, allocations: 315.2 kB / 1.245 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5931, allocations: 34.55 kB / 1.245 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.814e-06/0.5931, allocations: 0 / 1.245 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001012/0.5941, allocations: 449.2 kB / 1.245 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.5941, allocations: 63.34 kB / 1.245 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.5945, allocations: 401.9 kB / 1.245 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.5946, allocations: 33.7 kB / 1.245 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.5947, allocations: 224.2 kB / 1.246 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.5948, allocations: 82.84 kB / 1.246 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5949, allocations: 57.61 kB / 1.246 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5951, allocations: 350.7 kB / 1.246 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.5953, allocations: 115.9 kB / 1.246 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.5956, allocations: 182.7 kB / 1.246 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.5962, allocations: 313.3 kB / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5962, allocations: 0 / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006499/0.5968, allocations: 367.6 kB / 1.247 GB, free: 44 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5969, allocations: 8 kB / 1.247 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5969, allocations: 0 / 1.247 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.5969, allocations: 4 kB / 1.247 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6655/1.262, allocations: 56.22 kB / 1.247 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/1.263, allocations: 4.688 kB / 1.247 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/1.263, allocations: 49.06 kB / 1.247 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/1.263, allocations: 11.27 kB / 1.247 GB, free: 197.3 MB / 0.9981 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.0002914/1.263, allocations: 177.5 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.263, allocations: 40.66 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/1.264, allocations: 364.3 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.264, allocations: 2.219 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.264, allocations: 0.625 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-06/1.264, allocations: 2.578 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/1.266, allocations: 0.9394 MB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.266, allocations: 3.719 kB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.266, allocations: 48.48 kB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.266, allocations: 2.812 kB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.266, allocations: 7.5 kB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/1.266, allocations: 4.812 kB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.266, allocations: 1.812 kB / 1.249 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/1.267, allocations: 0.6347 MB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/1.267, allocations: 150.3 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/1.267, allocations: 7.281 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/1.268, allocations: 24.48 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/1.268, allocations: 31.67 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.268, allocations: 8.406 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003229/1.268, allocations: 280.8 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.268, allocations: 0.8125 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005814/1.269, allocations: 108.4 kB / 1.25 GB, free: 196.4 MB / 0.9981 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.0004563/1.269, allocations: 177.3 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006627/1.27, allocations: 301.8 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.27, allocations: 1.344 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/1.27, allocations: 150.6 kB / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.271, allocations: 215.7 kB / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.273, allocations: 0.9538 MB / 1.252 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/1.273, allocations: 0.8265 MB / 1.253 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003076/1.273, allocations: 99.08 kB / 1.253 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-05/1.273, allocations: 37.3 kB / 1.253 GB, free: 195 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/1.273, allocations: 3.938 kB / 1.253 GB, free: 195 MB / 0.9981 GB Notification: Performance of Templates: time 0.016/1.289, allocations: 7.516 MB / 1.26 GB, free: 194.6 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches