Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7629 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 67.91 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 168.7 MB / 1.272 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2215/1.354, allocations: 168.3 MB / 1.436 GB, free: 9.977 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00844/1.363, allocations: 6.618 MB / 1.442 GB, free: 4.641 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/1.363, allocations: 15.22 kB / 1.442 GB, free: 4.633 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/1.364, allocations: 182.4 kB / 1.443 GB, free: 4.473 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/1.366, allocations: 0.8704 MB / 1.443 GB, free: 3.82 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/1.367, allocations: 332.2 kB / 1.444 GB, free: 3.578 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000844/1.368, allocations: 0.7216 MB / 1.444 GB, free: 3.16 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/1.368, allocations: 223.9 kB / 1.445 GB, free: 3.012 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/1.369, allocations: 0.5728 MB / 1.445 GB, free: 2.652 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/1.37, allocations: 280 kB / 1.445 GB, free: 2.492 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/1.37, allocations: 23.25 kB / 1.445 GB, free: 2.492 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006533/1.37, allocations: 366.6 kB / 1.446 GB, free: 2.254 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/1.37, allocations: 111.6 kB / 1.446 GB, free: 2.145 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/1.371, allocations: 163.2 kB / 1.446 GB, free: 1.984 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006613/1.371, allocations: 466.2 kB / 1.446 GB, free: 1.527 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.371, allocations: 4 kB / 1.446 GB, free: 1.523 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.543e-06/1.371, allocations: 0 / 1.446 GB, free: 1.523 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.371, allocations: 4 kB / 1.447 GB, free: 1.52 MB / 1.123 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.0009247/1.372, allocations: 0.6306 MB / 1.447 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.372, allocations: 12.03 kB / 1.447 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/1.372, allocations: 62.53 kB / 1.447 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/1.373, allocations: 59.72 kB / 1.447 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/1.373, allocations: 333.3 kB / 1.448 GB, free: 340 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/1.373, allocations: 20.56 kB / 1.448 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/1.373, allocations: 24 kB / 1.448 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/1.374, allocations: 323.8 kB / 1.448 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.374, allocations: 0 / 1.448 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/1.374, allocations: 19.98 kB / 1.448 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.374, allocations: 4 kB / 1.448 GB, free: 15.92 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/1.374, allocations: 205.4 kB / 1.448 GB, free: 15.72 MB / 1.139 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.001643/1.376, allocations: 1.531 MB / 1.45 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/1.376, allocations: 118.5 kB / 1.45 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/1.376, allocations: 80.8 kB / 1.45 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/1.377, allocations: 303.2 kB / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.377, allocations: 34.56 kB / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/1.377, allocations: 0 / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007881/1.378, allocations: 285.4 kB / 1.45 GB, free: 13.17 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.378, allocations: 51.41 kB / 1.45 GB, free: 13.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/1.378, allocations: 312.5 kB / 1.451 GB, free: 12.8 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.378, allocations: 25.7 kB / 1.451 GB, free: 12.77 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.378, allocations: 188.3 kB / 1.451 GB, free: 12.58 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/1.378, allocations: 51.53 kB / 1.451 GB, free: 12.53 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/1.378, allocations: 41.7 kB / 1.451 GB, free: 12.48 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.379, allocations: 334.8 kB / 1.451 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.379, allocations: 55.95 kB / 1.451 GB, free: 12.09 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/1.379, allocations: 116.8 kB / 1.452 GB, free: 11.96 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/1.379, allocations: 177 kB / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.379, allocations: 0 / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004483/1.38, allocations: 221.3 kB / 1.452 GB, free: 11.55 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.38, allocations: 8 kB / 1.452 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.38, allocations: 0 / 1.452 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.38, allocations: 7.938 kB / 1.452 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/1.38, allocations: 35.92 kB / 1.452 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.38, allocations: 4 kB / 1.452 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.38, allocations: 24.03 kB / 1.452 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/1.38, allocations: 12 kB / 1.452 GB, free: 11.46 MB / 1.139 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.0001502/1.38, allocations: 153.6 kB / 1.452 GB, free: 11.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/1.38, allocations: 35.8 kB / 1.452 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/1.381, allocations: 200.3 kB / 1.452 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/1.381, allocations: 7.938 kB / 1.452 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.381, allocations: 0 / 1.452 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.381, allocations: 4 kB / 1.452 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/1.382, allocations: 0.6875 MB / 1.453 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.382, allocations: 4 kB / 1.453 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/1.382, allocations: 27.97 kB / 1.453 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.382, allocations: 8.031 kB / 1.453 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.382, allocations: 7.938 kB / 1.453 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.382, allocations: 3.938 kB / 1.453 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.382, allocations: 4 kB / 1.453 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/1.383, allocations: 333.3 kB / 1.453 GB, free: 9.859 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.383, allocations: 128.8 kB / 1.454 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/1.383, allocations: 7.938 kB / 1.454 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/1.383, allocations: 7.984 kB / 1.454 GB, free: 9.699 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/1.383, allocations: 15.98 kB / 1.454 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/1.383, allocations: 4 kB / 1.454 GB, free: 9.68 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002713/1.383, allocations: 223.1 kB / 1.454 GB, free: 9.465 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.383, allocations: 0 / 1.454 GB, free: 9.465 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003825/1.384, allocations: 71.88 kB / 1.454 GB, free: 9.395 MB / 1.139 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.001053/1.385, allocations: 0.9389 MB / 1.455 GB, free: 8.414 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000419/1.385, allocations: 143.8 kB / 1.455 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.385, allocations: 0 / 1.455 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/1.385, allocations: 88.56 kB / 1.455 GB, free: 8.188 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/1.386, allocations: 149.7 kB / 1.455 GB, free: 8.047 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/1.39, allocations: 2.817 MB / 1.458 GB, free: 5.078 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/1.39, allocations: 0.7793 MB / 1.459 GB, free: 4.27 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001938/1.39, allocations: 66.94 kB / 1.459 GB, free: 4.199 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.391, allocations: 91.41 kB / 1.459 GB, free: 4.113 MB / 1.139 GB Notification: Performance of SimCode: time 3.2e-07/1.391, allocations: 0 / 1.459 GB, free: 4.113 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/1.424, allocations: 8.189 MB / 1.467 GB, free: 12.12 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/10.04, allocations: 4 kB / 1.467 GB, free: 12.11 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.328073960990878]