Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_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.001222/0.001222, 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.001229/0.001229, allocations: 197.4 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.78 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2556, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.186/0.4417, allocations: 179.4 MB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008839/0.4506, allocations: 7.821 MB / 1.247 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.4509, allocations: 19.94 kB / 1.247 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.4515, allocations: 246.2 kB / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.4539, allocations: 1.221 MB / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4554, allocations: 0.7281 MB / 1.249 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4355/0.8908, allocations: 1.078 MB / 1.25 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000872/0.8917, allocations: 405.2 kB / 1.251 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.8942, allocations: 0.8196 MB / 1.251 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008494/0.8951, allocations: 438.9 kB / 1.252 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.8952, allocations: 38.23 kB / 1.252 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.897, allocations: 0.9495 MB / 1.253 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.8972, allocations: 155 kB / 1.253 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.8976, allocations: 244.4 kB / 1.253 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.8992, allocations: 0.9291 MB / 1.254 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8992, allocations: 0 / 1.254 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8992, allocations: 1.812 kB / 1.254 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8992, allocations: 0 / 1.254 GB, free: 5.742 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.001215/0.9005, allocations: 0.8046 MB / 1.255 GB, free: 21.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.9005, allocations: 8.875 kB / 1.255 GB, free: 21.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/0.9006, allocations: 80.45 kB / 1.255 GB, free: 21.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.9014, allocations: 153.1 kB / 1.255 GB, free: 21.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.9019, allocations: 378.4 kB / 1.255 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.9019, allocations: 27.56 kB / 1.255 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.902, allocations: 40.72 kB / 1.255 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.9025, allocations: 452.7 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9026, allocations: 0.75 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.9026, allocations: 18.34 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9026, allocations: 9.438 kB / 1.256 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.9031, allocations: 325.1 kB / 1.256 GB, free: 20.84 MB / 1.014 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.001773/0.9049, allocations: 2.019 MB / 1.258 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.9052, allocations: 238.9 kB / 1.258 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.9054, allocations: 149.8 kB / 1.259 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.906, allocations: 310.8 kB / 1.259 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.9061, allocations: 38.22 kB / 1.259 GB, free: 19.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.9061, allocations: 1.094 kB / 1.259 GB, free: 19.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0008753/0.907, allocations: 455.3 kB / 1.259 GB, free: 19.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.907, allocations: 52.91 kB / 1.259 GB, free: 19.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.9073, allocations: 401.3 kB / 1.26 GB, free: 18.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.9074, allocations: 33.78 kB / 1.26 GB, free: 18.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.9075, allocations: 225.1 kB / 1.26 GB, free: 18.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.9076, allocations: 81.97 kB / 1.26 GB, free: 18.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.9077, allocations: 54.58 kB / 1.26 GB, free: 18.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9078, allocations: 356.9 kB / 1.26 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.908, allocations: 109.1 kB / 1.261 GB, free: 18.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.9083, allocations: 185.1 kB / 1.261 GB, free: 18.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.9087, allocations: 316.5 kB / 1.261 GB, free: 18.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9087, allocations: 1.469 kB / 1.261 GB, free: 18.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005388/0.9092, allocations: 366.9 kB / 1.261 GB, free: 18.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9093, allocations: 7.234 kB / 1.261 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9093, allocations: 0 / 1.261 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.9093, allocations: 5.438 kB / 1.261 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.9095, allocations: 58.95 kB / 1.261 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9096, allocations: 7.062 kB / 1.261 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.9098, allocations: 44.89 kB / 1.262 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.9098, allocations: 21.22 kB / 1.262 GB, free: 18.17 MB / 1.014 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.0001643/0.91, allocations: 161.8 kB / 1.262 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.91, allocations: 37.91 kB / 1.262 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/0.9107, allocations: 370.7 kB / 1.262 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9107, allocations: 3.438 kB / 1.262 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.9107, allocations: 0 / 1.262 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9107, allocations: 2.375 kB / 1.262 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.9119, allocations: 0.9478 MB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9119, allocations: 7.688 kB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.9121, allocations: 46.95 kB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9121, allocations: 6.406 kB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.9122, allocations: 8.172 kB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9122, allocations: 2.625 kB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9122, allocations: 4.297 kB / 1.263 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.9129, allocations: 0.6306 MB / 1.264 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.9131, allocations: 144.1 kB / 1.264 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.9131, allocations: 9.828 kB / 1.264 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.9133, allocations: 14.39 kB / 1.264 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.9134, allocations: 19.05 kB / 1.264 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.9134, allocations: 9.953 kB / 1.264 GB, free: 17.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000242/0.9137, allocations: 286.9 kB / 1.264 GB, free: 17.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9137, allocations: 0 / 1.264 GB, free: 17.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003832/0.9141, allocations: 112.8 kB / 1.264 GB, free: 17.2 MB / 1.014 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.001285/0.9153, allocations: 1.24 MB / 1.265 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.9159, allocations: 296.8 kB / 1.266 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9159, allocations: 3.375 kB / 1.266 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.9161, allocations: 150.7 kB / 1.266 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009462/0.9171, allocations: 228 kB / 1.266 GB, free: 16.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.9214, allocations: 3.836 MB / 1.27 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.9218, allocations: 0.8296 MB / 1.271 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.9222, allocations: 99.14 kB / 1.271 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.9223, allocations: 138.2 kB / 1.271 GB, free: 13.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.11e-07/0.9223, allocations: 1.766 kB / 1.271 GB, free: 13.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.877/3.799, allocations: 11.57 MB / 1.282 GB, free: 13.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/15.03, allocations: 16.58 kB / 1.282 GB, free: 13.16 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches