Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001291/0.001291, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 70.5 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1561/0.4512, allocations: 179.4 MB / 1.228 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007676/0.4589, allocations: 7.828 MB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.4593, allocations: 19.88 kB / 1.236 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.4599, allocations: 250.2 kB / 1.236 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.4623, allocations: 1.217 MB / 1.237 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.4637, allocations: 0.7353 MB / 1.238 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009906/0.4647, allocations: 1.076 MB / 1.239 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.4653, allocations: 413.3 kB / 1.239 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.4671, allocations: 0.8266 MB / 1.24 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.4677, allocations: 434.5 kB / 1.241 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.4678, allocations: 39.94 kB / 1.241 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4691, allocations: 0.9509 MB / 1.242 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.4692, allocations: 159.5 kB / 1.242 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.4695, allocations: 246.8 kB / 1.242 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4706, allocations: 0.9194 MB / 1.243 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4706, allocations: 3.938 kB / 1.243 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4706, allocations: 0 / 1.243 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4706, allocations: 0 / 1.243 GB, free: 5.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001012/0.4716, allocations: 0.7987 MB / 1.244 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.4717, allocations: 8.625 kB / 1.244 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.151e-05/0.4718, allocations: 86.45 kB / 1.244 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.4726, allocations: 147.3 kB / 1.244 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.4731, allocations: 387.3 kB / 1.244 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4731, allocations: 29 kB / 1.244 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.4732, allocations: 36 kB / 1.244 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.4738, allocations: 446.4 kB / 1.245 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4738, allocations: 3.938 kB / 1.245 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.4738, allocations: 19.94 kB / 1.245 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4738, allocations: 8 kB / 1.245 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.4744, allocations: 323.8 kB / 1.245 GB, free: 2.633 MB / 0.9981 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.001829/0.4762, allocations: 2.027 MB / 1.247 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.4766, allocations: 238.4 kB / 1.247 GB, free: 196 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.4768, allocations: 144.8 kB / 1.247 GB, free: 48 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4383/0.9151, allocations: 304.5 kB / 1.248 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.9152, allocations: 37.16 kB / 1.248 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 2.464e-06/0.9152, allocations: 0 / 1.248 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001224/0.9164, allocations: 457.8 kB / 1.248 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.9165, allocations: 57.92 kB / 1.248 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.9169, allocations: 393.4 kB / 1.249 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.917, allocations: 34.23 kB / 1.249 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.9171, allocations: 228 kB / 1.249 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.9172, allocations: 90.67 kB / 1.249 GB, free: 197 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.9173, allocations: 55.83 kB / 1.249 GB, free: 197 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.9174, allocations: 355.1 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.9176, allocations: 110.4 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.9179, allocations: 179.8 kB / 1.25 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.9185, allocations: 309.6 kB / 1.25 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9185, allocations: 0 / 1.25 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006918/0.9192, allocations: 371 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9192, allocations: 5.5 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9192, allocations: 7.281 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.9192, allocations: 3.812 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.9195, allocations: 55.45 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.9195, allocations: 2.969 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.9198, allocations: 44.27 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.9199, allocations: 10.75 kB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001772/0.9201, allocations: 172.8 kB / 1.251 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.9201, allocations: 39.22 kB / 1.251 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.9208, allocations: 371.9 kB / 1.251 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.9209, allocations: 9.469 kB / 1.251 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9209, allocations: 0 / 1.251 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9209, allocations: 0.9375 kB / 1.251 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.9221, allocations: 0.9333 MB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9222, allocations: 3.812 kB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.9224, allocations: 50.27 kB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.9224, allocations: 2.906 kB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.9224, allocations: 8.219 kB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.9224, allocations: 10.25 kB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9225, allocations: 2.906 kB / 1.252 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.9232, allocations: 0.6315 MB / 1.253 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.9234, allocations: 144.5 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.9234, allocations: 15.09 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.9236, allocations: 12.97 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.9237, allocations: 22.47 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.9237, allocations: 8.5 kB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002279/0.924, allocations: 282.7 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.924, allocations: 2.969 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004411/0.9244, allocations: 107.2 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001144/0.9256, allocations: 1.244 MB / 1.254 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.9261, allocations: 294.2 kB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9261, allocations: 0 / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.9263, allocations: 155.5 kB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.9274, allocations: 226.9 kB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.9313, allocations: 3.839 MB / 1.259 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.9316, allocations: 0.8305 MB / 1.259 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000325/0.9319, allocations: 96.59 kB / 1.26 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.9321, allocations: 132.8 kB / 1.26 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.9321, allocations: 3.125 kB / 1.26 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.864/2.797, allocations: 11.58 MB / 1.271 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/13.75, allocations: 8.906 kB / 1.271 GB, free: 190.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches