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.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006747/0.006747, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00142/0.00142, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.358, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9973/1.355, allocations: 167.5 MB / 1.371 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01141/1.367, allocations: 6.536 MB / 1.377 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/1.368, allocations: 15.75 kB / 1.377 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008605/1.369, allocations: 173.3 kB / 1.377 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/1.372, allocations: 0.8362 MB / 1.378 GB, free: 11.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/1.373, allocations: 339.9 kB / 1.379 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001495/1.375, allocations: 0.7154 MB / 1.379 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/1.375, allocations: 280.3 kB / 1.38 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/1.377, allocations: 0.5482 MB / 1.38 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/1.378, allocations: 269.4 kB / 1.38 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/1.378, allocations: 26.34 kB / 1.38 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009442/1.379, allocations: 342.8 kB / 1.381 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/1.379, allocations: 113.2 kB / 1.381 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/1.379, allocations: 158.3 kB / 1.381 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008938/1.38, allocations: 469.2 kB / 1.381 GB, free: 9.777 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.38, allocations: 1.5 kB / 1.381 GB, free: 9.777 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.024e-06/1.38, allocations: 0 / 1.381 GB, free: 9.777 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.715e-05/1.38, allocations: 0 / 1.381 GB, free: 9.777 MB / 1.076 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.001168/1.381, allocations: 0.6221 MB / 1.382 GB, free: 9.215 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.381, allocations: 10 kB / 1.382 GB, free: 9.215 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/1.382, allocations: 59.2 kB / 1.382 GB, free: 9.156 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/1.382, allocations: 58.78 kB / 1.382 GB, free: 9.129 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/1.383, allocations: 327.9 kB / 1.382 GB, free: 8.824 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.383, allocations: 19.22 kB / 1.382 GB, free: 8.812 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/1.383, allocations: 25.41 kB / 1.383 GB, free: 8.805 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/1.383, allocations: 325.4 kB / 1.383 GB, free: 8.574 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.383, allocations: 3.938 kB / 1.383 GB, free: 8.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/1.383, allocations: 11.38 kB / 1.383 GB, free: 8.562 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.383, allocations: 6.594 kB / 1.383 GB, free: 8.562 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/1.384, allocations: 201 kB / 1.383 GB, free: 8.473 MB / 1.076 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.002056/1.386, allocations: 1.54 MB / 1.385 GB, free: 7.012 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/1.386, allocations: 118.7 kB / 1.385 GB, free: 6.941 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/1.387, allocations: 91.52 kB / 1.385 GB, free: 6.895 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006473/1.387, allocations: 307.4 kB / 1.385 GB, free: 6.582 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.387, allocations: 35.97 kB / 1.385 GB, free: 6.539 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/1.387, allocations: 0 / 1.385 GB, free: 6.539 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0008096/1.388, allocations: 267.7 kB / 1.385 GB, free: 6.402 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.388, allocations: 52.66 kB / 1.385 GB, free: 6.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/1.389, allocations: 314 kB / 1.386 GB, free: 6.137 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.389, allocations: 30.8 kB / 1.386 GB, free: 6.102 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.389, allocations: 176.6 kB / 1.386 GB, free: 5.941 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/1.389, allocations: 45.48 kB / 1.386 GB, free: 5.902 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/1.389, allocations: 32.06 kB / 1.386 GB, free: 5.879 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002526/1.389, allocations: 341.4 kB / 1.386 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/1.389, allocations: 63.14 kB / 1.386 GB, free: 5.512 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/1.39, allocations: 116.1 kB / 1.386 GB, free: 5.422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/1.39, allocations: 178.3 kB / 1.387 GB, free: 5.301 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.39, allocations: 3.938 kB / 1.387 GB, free: 5.297 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005052/1.39, allocations: 217.8 kB / 1.387 GB, free: 5.176 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.39, allocations: 6.438 kB / 1.387 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.39, allocations: 1.219 kB / 1.387 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.391, allocations: 3.156 kB / 1.387 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.391, allocations: 37.31 kB / 1.387 GB, free: 5.164 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.391, allocations: 2.094 kB / 1.387 GB, free: 5.164 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/1.391, allocations: 33.98 kB / 1.387 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/1.391, allocations: 7.75 kB / 1.387 GB, free: 5.141 MB / 1.076 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.000168/1.391, allocations: 151.2 kB / 1.387 GB, free: 5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/1.391, allocations: 25.47 kB / 1.387 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/1.392, allocations: 211.4 kB / 1.387 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.392, allocations: 2.406 kB / 1.387 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.392, allocations: 0.875 kB / 1.387 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.392, allocations: 4.031 kB / 1.387 GB, free: 4.855 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/1.393, allocations: 0.685 MB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.393, allocations: 2.469 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.393, allocations: 33.92 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.393, allocations: 2.438 kB / 1.388 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.393, allocations: 10.91 kB / 1.388 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.393, allocations: 10.67 kB / 1.388 GB, free: 4.246 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.393, allocations: 2 kB / 1.388 GB, free: 4.246 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/1.394, allocations: 335.9 kB / 1.388 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/1.394, allocations: 116 kB / 1.388 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/1.394, allocations: 10.59 kB / 1.388 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.394, allocations: 13.22 kB / 1.388 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/1.394, allocations: 18.3 kB / 1.388 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/1.394, allocations: 6.25 kB / 1.388 GB, free: 3.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000248/1.394, allocations: 225.4 kB / 1.389 GB, free: 3.676 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.394, allocations: 0 / 1.389 GB, free: 3.676 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004394/1.395, allocations: 70.34 kB / 1.389 GB, free: 3.664 MB / 1.076 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.001095/1.396, allocations: 0.9234 MB / 1.39 GB, free: 2.824 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004313/1.396, allocations: 165.1 kB / 1.39 GB, free: 2.746 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.396, allocations: 1.375 kB / 1.39 GB, free: 2.746 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/1.397, allocations: 88.23 kB / 1.39 GB, free: 2.707 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/1.398, allocations: 148.5 kB / 1.39 GB, free: 2.637 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/1.402, allocations: 2.796 MB / 1.393 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/1.403, allocations: 0.782 MB / 1.394 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003366/1.403, allocations: 61 kB / 1.394 GB, free: 15.74 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/1.403, allocations: 91.22 kB / 1.394 GB, free: 15.67 MB / 1.092 GB Notification: Performance of SimCode: time 1.102e-06/1.403, allocations: 4 kB / 1.394 GB, free: 15.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/1.44, allocations: 8.233 MB / 1.402 GB, free: 11.56 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/9.659, allocations: 13.81 kB / 1.402 GB, free: 11.55 MB / 1.092 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > 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