Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_10_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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001728/0.001728, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6574, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.171/0.8284, allocations: 165.3 MB / 1.178 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006887/0.8353, allocations: 6.548 MB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.8357, allocations: 19.88 kB / 1.185 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.8362, allocations: 131.1 kB / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.8379, allocations: 0.786 MB / 1.185 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.8387, allocations: 291.2 kB / 1.186 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008776/0.8396, allocations: 1.018 MB / 1.187 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.8399, allocations: 230.1 kB / 1.187 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009082/0.8409, allocations: 0.502 MB / 1.187 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.8412, allocations: 282.9 kB / 1.188 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.8413, allocations: 16 kB / 1.188 GB, free: 3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.8419, allocations: 395 kB / 1.188 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.842, allocations: 111.6 kB / 1.188 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.8422, allocations: 147.2 kB / 1.188 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.8427, allocations: 486.4 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.8427, allocations: 0 / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.91e-07/0.8427, allocations: 0 / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8427, allocations: 0 / 1.189 GB, free: 1.883 MB / 0.9356 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.0007915/0.8435, allocations: 0.6117 MB / 1.189 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8436, allocations: 12.03 kB / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.8436, allocations: 62.55 kB / 1.189 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.8439, allocations: 67.42 kB / 1.19 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.8443, allocations: 305.2 kB / 1.19 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.8443, allocations: 16.56 kB / 1.19 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.8444, allocations: 31.98 kB / 1.19 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.8449, allocations: 323.6 kB / 1.19 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8449, allocations: 0 / 1.19 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.8449, allocations: 12 kB / 1.19 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.8449, allocations: 8 kB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.8454, allocations: 209.4 kB / 1.19 GB, free: 128 kB / 0.9356 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.001442/0.8468, allocations: 1.534 MB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.8471, allocations: 122.5 kB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.8473, allocations: 88.81 kB / 1.192 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/0.8479, allocations: 307.2 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.8479, allocations: 30.56 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.8479, allocations: 0 / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007871/0.8487, allocations: 277.4 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.8488, allocations: 51.41 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.8491, allocations: 316.5 kB / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8491, allocations: 25.7 kB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.8492, allocations: 184.1 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.8493, allocations: 47.3 kB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.8494, allocations: 37.7 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.8496, allocations: 334.8 kB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.8498, allocations: 59.95 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.8501, allocations: 115.3 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.8505, allocations: 180.9 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8505, allocations: 0 / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004315/0.851, allocations: 217.1 kB / 1.194 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.851, allocations: 7.938 kB / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.851, allocations: 4.156 kB / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.851, allocations: 8 kB / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.8512, allocations: 31.98 kB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.8512, allocations: 4 kB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.8514, allocations: 27.83 kB / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.8514, allocations: 15.92 kB / 1.194 GB, free: 11.84 MB / 0.9512 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.0001595/0.8516, allocations: 161.7 kB / 1.194 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.8517, allocations: 27.62 kB / 1.194 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.8521, allocations: 205.6 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.8521, allocations: 3.984 kB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8522, allocations: 0 / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8522, allocations: 0 / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.8532, allocations: 0.6911 MB / 1.195 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.8533, allocations: 0 / 1.195 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.8534, allocations: 28.2 kB / 1.195 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.8534, allocations: 4 kB / 1.195 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.8534, allocations: 7.938 kB / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.8534, allocations: 7.938 kB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8534, allocations: 0 / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.854, allocations: 333.1 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8541, allocations: 116.7 kB / 1.196 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.8541, allocations: 11.88 kB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.8543, allocations: 31.91 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.8544, allocations: 7.984 kB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.8544, allocations: 8.062 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002111/0.8546, allocations: 223.1 kB / 1.196 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8546, allocations: 0 / 1.196 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003798/0.855, allocations: 75.89 kB / 1.196 GB, free: 9.781 MB / 0.9512 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.001038/0.8561, allocations: 0.9282 MB / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.8565, allocations: 147.8 kB / 1.197 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.8565, allocations: 4 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.8567, allocations: 88.39 kB / 1.197 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.8576, allocations: 145 kB / 1.197 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.8614, allocations: 2.897 MB / 1.2 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.8619, allocations: 0.7758 MB / 1.201 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.8621, allocations: 62.92 kB / 1.201 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.8623, allocations: 91.41 kB / 1.201 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of SimCode: time 5.62e-07/0.8623, allocations: 0 / 1.201 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.884, allocations: 7.676 MB / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.8843, allocations: 254 kB / 1.209 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.849, allocations: 7.875 kB / 1.209 GB, free: 12.67 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches