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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001892/0.001892, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00174/0.00174, allocations: 196.3 kB / 16.26 MB, free: 6.629 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5559, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.142/0.6979, allocations: 165.3 MB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005693/0.7037, allocations: 6.488 MB / 1.185 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.7039, allocations: 11.94 kB / 1.185 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.7042, allocations: 143.1 kB / 1.185 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.7056, allocations: 0.786 MB / 1.186 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.7062, allocations: 298 kB / 1.186 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006025/0.7068, allocations: 0.7173 MB / 1.187 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.7071, allocations: 262.7 kB / 1.187 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.7078, allocations: 0.541 MB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.7081, allocations: 286.9 kB / 1.188 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.7082, allocations: 24 kB / 1.188 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.7086, allocations: 355.1 kB / 1.188 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.7087, allocations: 111.6 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.7089, allocations: 167.2 kB / 1.188 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.7093, allocations: 482.5 kB / 1.189 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7093, allocations: 0 / 1.189 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7093, allocations: 0 / 1.189 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7094, allocations: 0 / 1.189 GB, free: 2.164 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.0006811/0.71, allocations: 0.6156 MB / 1.189 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.7101, allocations: 15.91 kB / 1.189 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.7101, allocations: 70.53 kB / 1.189 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.7104, allocations: 63.44 kB / 1.189 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.7107, allocations: 305.2 kB / 1.19 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.7107, allocations: 24.55 kB / 1.19 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.7108, allocations: 24 kB / 1.19 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.7112, allocations: 319.7 kB / 1.19 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.7113, allocations: 0 / 1.19 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.7113, allocations: 8 kB / 1.19 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7113, allocations: 8 kB / 1.19 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.7117, allocations: 209.4 kB / 1.19 GB, free: 412 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.001239/0.7129, allocations: 1.538 MB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.7131, allocations: 119.8 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.7133, allocations: 88.8 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/0.7138, allocations: 303.2 kB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.7139, allocations: 30.56 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.7139, allocations: 0 / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0006359/0.7145, allocations: 284.6 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.7146, allocations: 51.41 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.7148, allocations: 312.5 kB / 1.193 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.7149, allocations: 29.7 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.715, allocations: 184.1 kB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.715, allocations: 43.3 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.7151, allocations: 41.7 kB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7152, allocations: 334.8 kB / 1.194 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.7153, allocations: 55.95 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.7155, allocations: 114.7 kB / 1.194 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.7158, allocations: 188.8 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7158, allocations: 3.938 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003656/0.7162, allocations: 217.1 kB / 1.194 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7162, allocations: 8 kB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7162, allocations: 4.156 kB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.7162, allocations: 0 / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.7164, allocations: 35.98 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7164, allocations: 4 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.7165, allocations: 27.81 kB / 1.194 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.7166, allocations: 12 kB / 1.194 GB, free: 12.12 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.0001206/0.7167, allocations: 157.7 kB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.7168, allocations: 27.62 kB / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.7171, allocations: 204.3 kB / 1.195 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7172, allocations: 4 kB / 1.195 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7172, allocations: 11.88 kB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7172, allocations: 3.938 kB / 1.195 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.718, allocations: 0.6796 MB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7181, allocations: 4.219 kB / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.7182, allocations: 27.98 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7182, allocations: 4 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7182, allocations: 3.938 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7182, allocations: 11.92 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.7182, allocations: 7.984 kB / 1.195 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.7186, allocations: 333 kB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.7187, allocations: 124.8 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.7187, allocations: 11.92 kB / 1.196 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.7189, allocations: 19.92 kB / 1.196 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.719, allocations: 15.98 kB / 1.196 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.719, allocations: 4 kB / 1.196 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001831/0.7192, allocations: 219.1 kB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7192, allocations: 0 / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003119/0.7195, allocations: 71.89 kB / 1.196 GB, free: 10.05 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.0007924/0.7203, allocations: 0.9294 MB / 1.197 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.7206, allocations: 151.8 kB / 1.197 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7206, allocations: 0 / 1.197 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.7208, allocations: 84.62 kB / 1.197 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.7215, allocations: 152.9 kB / 1.197 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.7244, allocations: 2.889 MB / 1.2 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.7246, allocations: 0.7833 MB / 1.201 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.7248, allocations: 70.91 kB / 1.201 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.7249, allocations: 91.41 kB / 1.201 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.725, allocations: 4 kB / 1.201 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.488/2.213, allocations: 7.873 MB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/2.213, allocations: 243.7 kB / 1.209 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/6.182, allocations: 0 / 1.209 GB, free: 12.77 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