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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00166/0.00166, allocations: 194.6 kB / 16.25 MB, free: 6.637 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.518/1.518, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.464/2.464, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6094, allocations: 140.4 MB / 0.9492 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1785/0.7879, allocations: 177 MB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.7985, allocations: 7.769 MB / 1.13 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007848/0.7994, allocations: 23.81 kB / 1.13 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.8004, allocations: 202.8 kB / 1.13 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.8042, allocations: 1.148 MB / 1.131 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.8063, allocations: 0.6659 MB / 1.132 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.8079, allocations: 1.083 MB / 1.133 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.8087, allocations: 405.4 kB / 1.133 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.8118, allocations: 0.818 MB / 1.134 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008485/0.8126, allocations: 458.4 kB / 1.134 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.804e-05/0.8127, allocations: 40 kB / 1.134 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.8145, allocations: 0.9858 MB / 1.135 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.8147, allocations: 159.5 kB / 1.136 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.8151, allocations: 246.8 kB / 1.136 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.8168, allocations: 0.9777 MB / 1.137 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8168, allocations: 0 / 1.137 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8168, allocations: 0 / 1.137 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.8168, allocations: 4 kB / 1.137 GB, free: 1.379 MB / 0.8887 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.001429/0.8183, allocations: 0.8065 MB / 1.138 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.8183, allocations: 12.03 kB / 1.138 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.173e-05/0.8184, allocations: 78.47 kB / 1.138 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.8195, allocations: 151.3 kB / 1.138 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.8202, allocations: 379.3 kB / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.8203, allocations: 32.94 kB / 1.138 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.8204, allocations: 36 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.8212, allocations: 450.4 kB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.8212, allocations: 3.938 kB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.8212, allocations: 19.94 kB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.8213, allocations: 12 kB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.822, allocations: 319.8 kB / 1.139 GB, free: 14.98 MB / 0.9044 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.002321/0.8243, allocations: 2.012 MB / 1.141 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.8248, allocations: 231.9 kB / 1.141 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.8251, allocations: 161.1 kB / 1.141 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006957/0.8258, allocations: 303.1 kB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.8258, allocations: 38.56 kB / 1.142 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.823e-06/0.8258, allocations: 4 kB / 1.142 GB, free: 12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001118/0.827, allocations: 446.5 kB / 1.142 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.827, allocations: 55.39 kB / 1.142 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.8274, allocations: 405.8 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.8275, allocations: 29.7 kB / 1.142 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.8277, allocations: 236.2 kB / 1.143 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.586e-05/0.8277, allocations: 74.81 kB / 1.143 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.8278, allocations: 61.69 kB / 1.143 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.828, allocations: 354.7 kB / 1.143 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.8282, allocations: 111.9 kB / 1.143 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.8286, allocations: 183.3 kB / 1.143 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.8292, allocations: 304.5 kB / 1.144 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8292, allocations: 0 / 1.144 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007061/0.8299, allocations: 369.5 kB / 1.144 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8299, allocations: 8.031 kB / 1.144 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.83, allocations: 4 kB / 1.144 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.83, allocations: 3.938 kB / 1.144 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.8303, allocations: 59.91 kB / 1.144 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.8303, allocations: 3.938 kB / 1.144 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.8306, allocations: 51.59 kB / 1.144 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.8307, allocations: 20 kB / 1.144 GB, free: 9.172 MB / 0.9044 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.0001955/0.8309, allocations: 169.7 kB / 1.144 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.831, allocations: 39.53 kB / 1.144 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007494/0.8317, allocations: 366.2 kB / 1.145 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8317, allocations: 7.984 kB / 1.145 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8318, allocations: 4 kB / 1.145 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8318, allocations: 0 / 1.145 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.8332, allocations: 0.931 MB / 1.146 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.8333, allocations: 4 kB / 1.146 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.8335, allocations: 47.91 kB / 1.146 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.8335, allocations: 7.938 kB / 1.146 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.8336, allocations: 8 kB / 1.146 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.8336, allocations: 0 / 1.146 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8336, allocations: 7.938 kB / 1.146 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.8346, allocations: 0.6348 MB / 1.146 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.8348, allocations: 152.5 kB / 1.147 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.8349, allocations: 8 kB / 1.147 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.8352, allocations: 23.97 kB / 1.147 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.8353, allocations: 16.05 kB / 1.147 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.8353, allocations: 12 kB / 1.147 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000304/0.8356, allocations: 287.1 kB / 1.147 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8356, allocations: 0 / 1.147 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004632/0.8361, allocations: 115.7 kB / 1.147 GB, free: 6.211 MB / 0.9044 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.001598/0.8377, allocations: 1.239 MB / 1.148 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006867/0.8384, allocations: 301.5 kB / 1.149 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8384, allocations: 0 / 1.149 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.8387, allocations: 152.3 kB / 1.149 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.8399, allocations: 223 kB / 1.149 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.8453, allocations: 3.978 MB / 1.153 GB, free: 144 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.8458, allocations: 0.8311 MB / 1.154 GB, free: 15.28 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.8461, allocations: 91.41 kB / 1.154 GB, free: 15.19 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.8463, allocations: 143.4 kB / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.8463, allocations: 0 / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4604/1.307, allocations: 11.41 MB / 1.165 GB, free: 3.906 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/1.307, allocations: 250.9 kB / 1.165 GB, free: 3.652 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/3.242, allocations: 0 / 1.165 GB, free: 3.652 MB / 0.92 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