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 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: 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.001613/0.001613, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001875/0.001875, allocations: 192.9 kB / 16.13 MB, free: 6.645 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.33 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1728/0.4985, allocations: 165.3 MB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006912/0.5055, allocations: 6.534 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.5059, allocations: 19.88 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.5064, allocations: 131.2 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.5084, allocations: 0.7899 MB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.5093, allocations: 295.5 kB / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009042/0.5102, allocations: 1.021 MB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.5106, allocations: 230.1 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.5116, allocations: 0.5098 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.512, allocations: 282.9 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.512, allocations: 16 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.5127, allocations: 391 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5128, allocations: 107.7 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.513, allocations: 159.1 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.5135, allocations: 478.5 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.5135, allocations: 0 / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5136, allocations: 0 / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5136, allocations: 0 / 1.24 GB, free: 10.05 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008208/0.5144, allocations: 0.6155 MB / 1.24 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5144, allocations: 11.97 kB / 1.24 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.5148, allocations: 63.59 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5151, allocations: 321.1 kB / 1.241 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.5152, allocations: 16.56 kB / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.5152, allocations: 31.94 kB / 1.241 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.5157, allocations: 315.7 kB / 1.241 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5158, allocations: 0 / 1.241 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.5158, allocations: 12 kB / 1.241 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.5158, allocations: 8 kB / 1.241 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.5162, allocations: 205.6 kB / 1.241 GB, free: 8.352 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.001471/0.5177, allocations: 1.53 MB / 1.243 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.518, allocations: 129.8 kB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.5182, allocations: 92.8 kB / 1.243 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000653/0.5188, allocations: 299.5 kB / 1.243 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5189, allocations: 38.55 kB / 1.243 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.5189, allocations: 0 / 1.243 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007585/0.5196, allocations: 265.3 kB / 1.243 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5197, allocations: 55.41 kB / 1.244 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.52, allocations: 316.5 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.52, allocations: 25.7 kB / 1.244 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5202, allocations: 180.1 kB / 1.244 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.5202, allocations: 55.23 kB / 1.244 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.5203, allocations: 33.7 kB / 1.244 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5204, allocations: 342.8 kB / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5206, allocations: 59.95 kB / 1.244 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.5208, allocations: 118.9 kB / 1.245 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.5211, allocations: 180.9 kB / 1.245 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5211, allocations: 3.938 kB / 1.245 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004021/0.5215, allocations: 209.2 kB / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5216, allocations: 4 kB / 1.245 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5216, allocations: 3.984 kB / 1.245 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5216, allocations: 12.09 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.5218, allocations: 31.92 kB / 1.245 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5218, allocations: 7.984 kB / 1.245 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.522, allocations: 35.73 kB / 1.245 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.522, allocations: 4 kB / 1.245 GB, free: 4.062 MB / 0.9981 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.0001451/0.5222, allocations: 161.6 kB / 1.245 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.5222, allocations: 23.72 kB / 1.245 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.5227, allocations: 212.3 kB / 1.245 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5227, allocations: 0 / 1.245 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5227, allocations: 0 / 1.245 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5227, allocations: 0 / 1.245 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.5237, allocations: 0.6834 MB / 1.246 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5237, allocations: 4.062 kB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.5239, allocations: 32.2 kB / 1.246 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5239, allocations: 11.92 kB / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5239, allocations: 4 kB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.5239, allocations: 7.938 kB / 1.246 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5239, allocations: 3.938 kB / 1.246 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.5243, allocations: 325.2 kB / 1.246 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.5245, allocations: 120.6 kB / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.5245, allocations: 8 kB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5247, allocations: 23.92 kB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.5248, allocations: 15.92 kB / 1.247 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5248, allocations: 4 kB / 1.247 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002092/0.525, allocations: 227 kB / 1.247 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.525, allocations: 0 / 1.247 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003753/0.5254, allocations: 75.84 kB / 1.247 GB, free: 1.992 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.0004071/0.5258, allocations: 146.5 kB / 1.247 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.5262, allocations: 159.7 kB / 1.247 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5262, allocations: 0 / 1.247 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.5264, allocations: 83.83 kB / 1.247 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.5273, allocations: 164.3 kB / 1.247 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.5282, allocations: 0.6243 MB / 1.248 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.541/1.069, allocations: 0.7837 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003538/1.07, allocations: 52.92 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/1.07, allocations: 26.81 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.143e-06/1.07, allocations: 0 / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01228/1.082, allocations: 4.869 MB / 1.254 GB, free: 186.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches