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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008512/0.0008512, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8883/0.8883, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.513e-06/1.513e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.212e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6204/0.6205, allocations: 147.7 MB / 1.095 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005265/0.6257, allocations: 5.991 MB / 1.101 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.6262, allocations: 15.06 kB / 1.101 GB, free: 37.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.6267, allocations: 181.6 kB / 1.101 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.6287, allocations: 0.8609 MB / 1.102 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.6296, allocations: 372.3 kB / 1.102 GB, free: 37.06 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.6304, allocations: 0.7228 MB / 1.103 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.6308, allocations: 214.8 kB / 1.103 GB, free: 36.67 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.6322, allocations: 0.669 MB / 1.104 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.6327, allocations: 242.9 kB / 1.104 GB, free: 36.37 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.26e-05/0.6328, allocations: 22.91 kB / 1.104 GB, free: 36.37 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.6335, allocations: 304.9 kB / 1.104 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.6337, allocations: 114.8 kB / 1.104 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.6338, allocations: 113.7 kB / 1.104 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007225/0.6345, allocations: 483.6 kB / 1.105 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.6345, allocations: 8 kB / 1.105 GB, free: 36.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6345, allocations: 0 / 1.105 GB, free: 36.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6346, allocations: 0 / 1.105 GB, free: 36.06 MB / 0.9948 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.0008054/0.6354, allocations: 0.5455 MB / 1.105 GB, free: 35.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6354, allocations: 9.875 kB / 1.105 GB, free: 35.63 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.926e-05/0.6355, allocations: 66.23 kB / 1.105 GB, free: 35.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.6358, allocations: 62.73 kB / 1.105 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.6362, allocations: 262.8 kB / 1.106 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.6362, allocations: 19.38 kB / 1.106 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.6363, allocations: 25.28 kB / 1.106 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.6368, allocations: 322.1 kB / 1.106 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6368, allocations: 0 / 1.106 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.6368, allocations: 15.16 kB / 1.106 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.6368, allocations: 6.938 kB / 1.106 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.6371, allocations: 204.6 kB / 1.106 GB, free: 35.09 MB / 0.9948 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.001041/0.6381, allocations: 1.192 MB / 1.107 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.6383, allocations: 113.8 kB / 1.108 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.6385, allocations: 85.75 kB / 1.108 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.6388, allocations: 74.97 kB / 1.108 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.6388, allocations: 37.75 kB / 1.108 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/0.6388, allocations: 0 / 1.108 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005651/0.6394, allocations: 269.7 kB / 1.108 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.6394, allocations: 53.88 kB / 1.108 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.6397, allocations: 313.4 kB / 1.108 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6397, allocations: 27.8 kB / 1.108 GB, free: 33.67 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.6398, allocations: 192.9 kB / 1.109 GB, free: 33.51 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.6399, allocations: 40.53 kB / 1.109 GB, free: 33.48 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.6399, allocations: 38.81 kB / 1.109 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.64, allocations: 339.2 kB / 1.109 GB, free: 33.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.997e-05/0.6401, allocations: 58.89 kB / 1.109 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.6402, allocations: 191.5 kB / 1.109 GB, free: 32.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.6404, allocations: 174.7 kB / 1.109 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6404, allocations: 0 / 1.109 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002941/0.6407, allocations: 218.6 kB / 1.11 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6408, allocations: 6.094 kB / 1.11 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6408, allocations: 6.312 kB / 1.11 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6408, allocations: 2.375 kB / 1.11 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.6409, allocations: 38.8 kB / 1.11 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.6409, allocations: 3.125 kB / 1.11 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.641, allocations: 33.41 kB / 1.11 GB, free: 32.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.641, allocations: 15.58 kB / 1.11 GB, free: 32.71 MB / 0.9948 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 9.797e-05/0.6411, allocations: 147.8 kB / 1.11 GB, free: 32.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.6412, allocations: 33.7 kB / 1.11 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.6415, allocations: 213.6 kB / 1.11 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6415, allocations: 2.078 kB / 1.11 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6415, allocations: 0 / 1.11 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6415, allocations: 3.109 kB / 1.11 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.6423, allocations: 0.6401 MB / 1.111 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6423, allocations: 2.125 kB / 1.111 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/0.6424, allocations: 29.53 kB / 1.111 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6424, allocations: 3.156 kB / 1.111 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6424, allocations: 7.125 kB / 1.111 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.6424, allocations: 2.188 kB / 1.111 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6424, allocations: 6.969 kB / 1.111 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.6427, allocations: 333.8 kB / 1.111 GB, free: 31.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.6427, allocations: 40.12 kB / 1.111 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.6427, allocations: 7.922 kB / 1.111 GB, free: 31.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.6428, allocations: 7.547 kB / 1.111 GB, free: 31.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.6429, allocations: 23.28 kB / 1.111 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.6429, allocations: 5.188 kB / 1.111 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001707/0.6431, allocations: 224.1 kB / 1.111 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6431, allocations: 0 / 1.111 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003113/0.6434, allocations: 75.2 kB / 1.111 GB, free: 31.59 MB / 0.9948 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.0005626/0.6439, allocations: 0.908 MB / 1.112 GB, free: 30.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.6442, allocations: 152.7 kB / 1.112 GB, free: 30.76 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6442, allocations: 5 kB / 1.112 GB, free: 30.76 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.6443, allocations: 79.86 kB / 1.113 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.6449, allocations: 148.1 kB / 1.113 GB, free: 30.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.6477, allocations: 2.812 MB / 1.115 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.6478, allocations: 178 kB / 1.116 GB, free: 28.71 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.6481, allocations: 57.08 kB / 1.116 GB, free: 28.71 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.6482, allocations: 91.72 kB / 1.116 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of SimCode: time 1.253e-06/0.6482, allocations: 1.156 kB / 1.116 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.6761, allocations: 9.309 MB / 1.125 GB, free: 27.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.663, allocations: 12.11 kB / 1.125 GB, free: 27.09 MB / 0.9948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senM_flow.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.848629178479314]