Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 97.78 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.001669/0.001669, allocations: 187.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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 11.41 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1791/0.4981, allocations: 163.2 MB / 1.219 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008439/0.5066, allocations: 6.457 MB / 1.225 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/0.5072, allocations: 11.94 kB / 1.225 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.5078, allocations: 131.1 kB / 1.225 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.5101, allocations: 0.7899 MB / 1.226 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.5111, allocations: 286.2 kB / 1.226 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.5124, allocations: 1.018 MB / 1.227 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004942/0.5129, allocations: 238 kB / 1.227 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.5142, allocations: 0.4981 MB / 1.228 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.5147, allocations: 270.9 kB / 1.228 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.5147, allocations: 15.94 kB / 1.228 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.5155, allocations: 395 kB / 1.228 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.5157, allocations: 103.6 kB / 1.229 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.5159, allocations: 168.9 kB / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004738/0.5164, allocations: 335.2 kB / 1.229 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5164, allocations: 4 kB / 1.229 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5164, allocations: 0 / 1.229 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.5165, allocations: 0 / 1.229 GB, free: 6.469 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008958/0.5174, allocations: 0.5533 MB / 1.23 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5174, allocations: 8.031 kB / 1.23 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.5178, allocations: 71.42 kB / 1.23 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.5182, allocations: 305.2 kB / 1.23 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.5183, allocations: 28.5 kB / 1.23 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.5183, allocations: 24 kB / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.5189, allocations: 331.7 kB / 1.23 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5189, allocations: 3.938 kB / 1.23 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.519, allocations: 8 kB / 1.23 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.519, allocations: 8 kB / 1.23 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.5194, allocations: 209.5 kB / 1.231 GB, free: 4.828 MB / 0.9825 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.001616/0.5211, allocations: 1.538 MB / 1.232 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.5214, allocations: 126.5 kB / 1.232 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.5216, allocations: 92.81 kB / 1.232 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/0.5222, allocations: 323.2 kB / 1.233 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5222, allocations: 30.56 kB / 1.233 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.5222, allocations: 3.938 kB / 1.233 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007824/0.523, allocations: 291.8 kB / 1.233 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.5231, allocations: 55.41 kB / 1.233 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.5234, allocations: 308.5 kB / 1.233 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5234, allocations: 33.64 kB / 1.233 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5236, allocations: 188 kB / 1.233 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.5236, allocations: 47.3 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.5236, allocations: 21.72 kB / 1.234 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5238, allocations: 338.8 kB / 1.234 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5239, allocations: 59.95 kB / 1.234 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.5241, allocations: 126.8 kB / 1.234 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.5245, allocations: 184.9 kB / 1.234 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5245, allocations: 0 / 1.234 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004448/0.5249, allocations: 233.1 kB / 1.234 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.525, allocations: 4 kB / 1.234 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.525, allocations: 0 / 1.234 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.525, allocations: 4 kB / 1.234 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.5252, allocations: 43.91 kB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5252, allocations: 4 kB / 1.234 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.5254, allocations: 35.86 kB / 1.235 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.5255, allocations: 8 kB / 1.235 GB, free: 484 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001514/0.5256, allocations: 153.7 kB / 1.235 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.5257, allocations: 31.61 kB / 1.235 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.5262, allocations: 220.3 kB / 1.235 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5262, allocations: 4 kB / 1.235 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5262, allocations: 0 / 1.235 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5262, allocations: 0 / 1.235 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5273, allocations: 0.6915 MB / 1.236 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5273, allocations: 0 / 1.236 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.5274, allocations: 35.91 kB / 1.236 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.5274, allocations: 4 kB / 1.236 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5275, allocations: 7.938 kB / 1.236 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5275, allocations: 0 / 1.236 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5275, allocations: 4 kB / 1.236 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.5279, allocations: 353.1 kB / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.5281, allocations: 120.8 kB / 1.236 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.5281, allocations: 3.938 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.5283, allocations: 19.98 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.5284, allocations: 19.97 kB / 1.236 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5284, allocations: 7.984 kB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002234/0.5286, allocations: 231 kB / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5286, allocations: 0 / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004002/0.529, allocations: 67.84 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0004247/0.5295, allocations: 152.3 kB / 1.237 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.5299, allocations: 167.9 kB / 1.237 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5299, allocations: 0 / 1.237 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.5301, allocations: 87.83 kB / 1.237 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009351/0.5311, allocations: 157 kB / 1.237 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/0.532, allocations: 0.6786 MB / 1.238 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.5324, allocations: 0.7758 MB / 1.238 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.5325, allocations: 27.44 kB / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.5325, allocations: 0 / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of Templates: time 0.008309/0.5408, allocations: 4.499 MB / 1.243 GB, free: 7.809 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches