Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_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.007695/0.007695, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001666/0.001666, allocations: 195.6 kB / 16.67 MB, free: 5.906 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 64.48 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2729, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7833/1.056, allocations: 179.4 MB / 1.263 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009235/1.066, allocations: 7.82 MB / 1.27 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/1.066, allocations: 19.45 kB / 1.27 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/1.067, allocations: 248.3 kB / 1.271 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/1.07, allocations: 1.22 MB / 1.272 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/1.072, allocations: 0.734 MB / 1.272 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001499/1.074, allocations: 1.077 MB / 1.274 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/1.075, allocations: 406 kB / 1.274 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/1.077, allocations: 0.8306 MB / 1.275 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007863/1.078, allocations: 433.9 kB / 1.275 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/1.078, allocations: 40.41 kB / 1.275 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/1.08, allocations: 0.9467 MB / 1.276 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/1.08, allocations: 157.9 kB / 1.276 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/1.081, allocations: 250.6 kB / 1.276 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/1.083, allocations: 0.9386 MB / 1.277 GB, free: 3.027 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.083, allocations: 0 / 1.277 GB, free: 3.027 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.715e-06/1.083, allocations: 1.469 kB / 1.277 GB, free: 3.027 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.083, allocations: 1.203 kB / 1.277 GB, free: 3.027 MB / 1.014 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.001284/1.084, allocations: 0.7992 MB / 1.278 GB, free: 2.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.084, allocations: 11.36 kB / 1.278 GB, free: 2.484 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.575e-05/1.084, allocations: 80.44 kB / 1.278 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.086, allocations: 155 kB / 1.278 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/1.086, allocations: 399 kB / 1.279 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/1.086, allocations: 26.12 kB / 1.279 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/1.086, allocations: 37.81 kB / 1.279 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/1.087, allocations: 449.5 kB / 1.279 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.087, allocations: 1.094 kB / 1.279 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/1.087, allocations: 20.47 kB / 1.279 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.087, allocations: 8.969 kB / 1.279 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/1.088, allocations: 324 kB / 1.28 GB, free: 2.09 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.002169/1.09, allocations: 2.016 MB / 1.282 GB, free: 16.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/1.09, allocations: 238.7 kB / 1.282 GB, free: 16.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.091, allocations: 151.8 kB / 1.282 GB, free: 16.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/1.091, allocations: 305.5 kB / 1.282 GB, free: 16.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.091, allocations: 33.16 kB / 1.282 GB, free: 16.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/1.091, allocations: 0.6875 kB / 1.282 GB, free: 16.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001043/1.092, allocations: 458.6 kB / 1.283 GB, free: 16.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.092, allocations: 58.77 kB / 1.283 GB, free: 16.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/1.093, allocations: 397.8 kB / 1.283 GB, free: 16.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/1.093, allocations: 32.69 kB / 1.283 GB, free: 16.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.093, allocations: 227.1 kB / 1.283 GB, free: 16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/1.093, allocations: 87.38 kB / 1.283 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.093, allocations: 59.86 kB / 1.284 GB, free: 15.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.093, allocations: 350.5 kB / 1.284 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/1.094, allocations: 113.4 kB / 1.284 GB, free: 15.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/1.094, allocations: 187.6 kB / 1.284 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/1.095, allocations: 305.1 kB / 1.284 GB, free: 15.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.095, allocations: 0.5312 kB / 1.284 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006721/1.095, allocations: 363.2 kB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.095, allocations: 9.531 kB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.095, allocations: 3.719 kB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.095, allocations: 2.938 kB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/1.096, allocations: 65.28 kB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.096, allocations: 3.484 kB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.096, allocations: 48.3 kB / 1.285 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.096, allocations: 13.42 kB / 1.285 GB, free: 15.4 MB / 1.029 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.0001773/1.096, allocations: 164 kB / 1.285 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/1.096, allocations: 44 kB / 1.285 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/1.097, allocations: 370.4 kB / 1.286 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.097, allocations: 4.094 kB / 1.286 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.097, allocations: 0.7031 kB / 1.286 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.097, allocations: 3.031 kB / 1.286 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.098, allocations: 0.9372 MB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.098, allocations: 2.312 kB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/1.099, allocations: 47.09 kB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.099, allocations: 3.781 kB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.099, allocations: 8.609 kB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.099, allocations: 5.641 kB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.099, allocations: 4.5 kB / 1.286 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/1.1, allocations: 0.6292 MB / 1.287 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/1.1, allocations: 144.8 kB / 1.287 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/1.1, allocations: 7.891 kB / 1.287 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.1, allocations: 17.7 kB / 1.287 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/1.1, allocations: 27.81 kB / 1.287 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/1.1, allocations: 11.53 kB / 1.287 GB, free: 14.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002764/1.101, allocations: 279.5 kB / 1.288 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.101, allocations: 1.031 kB / 1.288 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005875/1.101, allocations: 113.7 kB / 1.288 GB, free: 14.41 MB / 1.029 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.001583/1.103, allocations: 1.235 MB / 1.289 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006141/1.103, allocations: 302.1 kB / 1.289 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.103, allocations: 0.9375 kB / 1.289 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/1.104, allocations: 151.2 kB / 1.289 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.105, allocations: 226.1 kB / 1.29 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/1.11, allocations: 3.779 MB / 1.293 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/1.11, allocations: 0.8341 MB / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003905/1.11, allocations: 94.11 kB / 1.294 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/1.111, allocations: 139.4 kB / 1.294 GB, free: 11.23 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/1.111, allocations: 0 / 1.294 GB, free: 11.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/1.147, allocations: 11.7 MB / 1.306 GB, free: 10.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/9.644, allocations: 7.531 kB / 1.306 GB, free: 10.28 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches