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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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.00127/0.00127, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 185.3 kB / 16.92 MB, free: 6.75 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 11.59 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2043/0.5418, allocations: 174.8 MB / 1.23 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009391/0.5513, allocations: 7.751 MB / 1.238 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.552, allocations: 15.88 kB / 1.238 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.5527, allocations: 186.8 kB / 1.238 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.5562, allocations: 1.152 MB / 1.239 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.558, allocations: 0.6609 MB / 1.24 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.5598, allocations: 1.54 MB / 1.241 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.5605, allocations: 345.8 kB / 1.241 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.5634, allocations: 0.7485 MB / 1.242 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009393/0.5644, allocations: 446.3 kB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.5645, allocations: 24 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.5667, allocations: 1.087 MB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5669, allocations: 147.5 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.5674, allocations: 244.5 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.569, allocations: 0.6508 MB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.5691, allocations: 8 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.368e-06/0.5691, allocations: 3.984 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.5691, allocations: 3.938 kB / 1.245 GB, free: 6.457 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.002009/0.5711, allocations: 0.7131 MB / 1.245 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.5712, allocations: 15.97 kB / 1.245 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.5727, allocations: 155.2 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/0.5737, allocations: 375.4 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.5738, allocations: 33 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5739, allocations: 36 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009185/0.5749, allocations: 462.4 kB / 1.246 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5749, allocations: 0 / 1.246 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.5749, allocations: 19.94 kB / 1.246 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.575, allocations: 12 kB / 1.246 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.5757, allocations: 323.8 kB / 1.247 GB, free: 4.219 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.002493/0.5782, allocations: 2.035 MB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.5786, allocations: 248.2 kB / 1.249 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.5789, allocations: 148.8 kB / 1.249 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.5795, allocations: 327.2 kB / 1.249 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5796, allocations: 34.56 kB / 1.249 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.5796, allocations: 0 / 1.249 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001139/0.5807, allocations: 470.7 kB / 1.25 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5808, allocations: 63.34 kB / 1.25 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.5813, allocations: 390 kB / 1.25 GB, free: 276 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5814, allocations: 29.7 kB / 1.25 GB, free: 240 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.5816, allocations: 232.2 kB / 1.251 GB, free: 0 / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.6198/1.201, allocations: 77.66 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/1.201, allocations: 26.48 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.202, allocations: 353 kB / 1.251 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/1.202, allocations: 115.9 kB / 1.251 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/1.202, allocations: 190.6 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/1.203, allocations: 320.5 kB / 1.252 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.203, allocations: 0.8125 kB / 1.252 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008068/1.204, allocations: 375.9 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.204, allocations: 6.625 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.204, allocations: 5.969 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.204, allocations: 3.281 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/1.204, allocations: 62.23 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.204, allocations: 8.453 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/1.205, allocations: 55.47 kB / 1.252 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/1.205, allocations: 10.75 kB / 1.252 GB, free: 193.6 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.0001952/1.205, allocations: 167.3 kB / 1.252 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/1.205, allocations: 43.31 kB / 1.252 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/1.206, allocations: 377.9 kB / 1.253 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.206, allocations: 2.844 kB / 1.253 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.206, allocations: 5.562 kB / 1.253 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.206, allocations: 1.312 kB / 1.253 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.207, allocations: 0.9433 MB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.207, allocations: 2.594 kB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.207, allocations: 52.17 kB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.207, allocations: 6.984 kB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.208, allocations: 11.97 kB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.208, allocations: 3.031 kB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.208, allocations: 9.812 kB / 1.254 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/1.209, allocations: 0.6506 MB / 1.254 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.209, allocations: 147.3 kB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/1.209, allocations: 7.625 kB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.209, allocations: 22.02 kB / 1.255 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/1.209, allocations: 30.77 kB / 1.255 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.209, allocations: 6.812 kB / 1.255 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002993/1.209, allocations: 284.4 kB / 1.255 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.209, allocations: 0 / 1.255 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005382/1.21, allocations: 114.4 kB / 1.255 GB, free: 192.6 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.0004257/1.21, allocations: 175.9 kB / 1.255 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005678/1.211, allocations: 297.3 kB / 1.255 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.211, allocations: 3.812 kB / 1.255 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/1.211, allocations: 151.4 kB / 1.256 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.212, allocations: 215.2 kB / 1.256 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/1.214, allocations: 1.018 MB / 1.257 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.214, allocations: 0.8247 MB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.214, allocations: 44.73 kB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/1.214, allocations: 0 / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01225/1.226, allocations: 6.73 MB / 1.264 GB, free: 190.7 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/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