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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008691/0.0008691, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005163/0.005163, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 16 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.6376, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1838/0.8214, allocations: 174.9 MB / 1.126 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008644/0.8301, allocations: 7.747 MB / 1.133 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/0.8306, allocations: 19.88 kB / 1.134 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.8312, allocations: 186.8 kB / 1.134 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.8338, allocations: 1.144 MB / 1.135 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.8354, allocations: 0.6644 MB / 1.135 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.8369, allocations: 1.532 MB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.8374, allocations: 351.2 kB / 1.137 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.8398, allocations: 0.7533 MB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.8405, allocations: 450.3 kB / 1.138 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.8405, allocations: 24 kB / 1.138 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.8423, allocations: 1.079 MB / 1.14 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.8425, allocations: 139.6 kB / 1.14 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.8427, allocations: 256.4 kB / 1.14 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.8439, allocations: 0.9697 MB / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8439, allocations: 0 / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.844, allocations: 0 / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.844, allocations: 0 / 1.141 GB, free: 0.5273 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.001086/0.8451, allocations: 0.7209 MB / 1.142 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8451, allocations: 15.97 kB / 1.142 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.134e-05/0.8452, allocations: 78.52 kB / 1.142 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.8461, allocations: 143.3 kB / 1.142 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.8466, allocations: 387.4 kB / 1.142 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.8466, allocations: 29 kB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.8467, allocations: 36 kB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.8475, allocations: 454.4 kB / 1.143 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.8475, allocations: 3.938 kB / 1.143 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.8476, allocations: 19.94 kB / 1.143 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.8476, allocations: 8 kB / 1.143 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.8482, allocations: 335.7 kB / 1.143 GB, free: 14.21 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.0022/0.8504, allocations: 2.015 MB / 1.145 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.8509, allocations: 238.5 kB / 1.145 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.8511, allocations: 161.1 kB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/0.8518, allocations: 327 kB / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.8518, allocations: 34.56 kB / 1.146 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.8518, allocations: 0 / 1.146 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001024/0.8528, allocations: 471.1 kB / 1.146 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8529, allocations: 55.41 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.8533, allocations: 397.9 kB / 1.147 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.8533, allocations: 33.7 kB / 1.147 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.8535, allocations: 232.3 kB / 1.147 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.8536, allocations: 78.81 kB / 1.147 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.8536, allocations: 29.7 kB / 1.147 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8537, allocations: 350.7 kB / 1.147 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.854, allocations: 119.9 kB / 1.147 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.8543, allocations: 195.2 kB / 1.148 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.8548, allocations: 311.5 kB / 1.148 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8548, allocations: 3.938 kB / 1.148 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006512/0.8555, allocations: 374.6 kB / 1.148 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8555, allocations: 8 kB / 1.148 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8555, allocations: 4 kB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.8555, allocations: 0 / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.8558, allocations: 63.91 kB / 1.148 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.8558, allocations: 4 kB / 1.148 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.8561, allocations: 63.5 kB / 1.148 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.8562, allocations: 8 kB / 1.148 GB, free: 8.344 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.0001741/0.8564, allocations: 173.7 kB / 1.149 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.8564, allocations: 39.53 kB / 1.149 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/0.8572, allocations: 378.2 kB / 1.149 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8572, allocations: 3.984 kB / 1.149 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8572, allocations: 4 kB / 1.149 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8572, allocations: 0 / 1.149 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.8586, allocations: 0.9466 MB / 1.15 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8586, allocations: 8.219 kB / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.8589, allocations: 55.84 kB / 1.15 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.8589, allocations: 48 / 1.15 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.8589, allocations: 11.98 kB / 1.15 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.8589, allocations: 4 kB / 1.15 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8589, allocations: 7.938 kB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.8599, allocations: 0.6466 MB / 1.151 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.86, allocations: 144.6 kB / 1.151 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.8601, allocations: 8 kB / 1.151 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.8604, allocations: 36.03 kB / 1.151 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.8604, allocations: 23.86 kB / 1.151 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.8605, allocations: 11.98 kB / 1.151 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002745/0.8607, allocations: 283.1 kB / 1.151 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8607, allocations: 0 / 1.151 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004457/0.8612, allocations: 119.7 kB / 1.151 GB, free: 5.324 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.00144/0.8626, allocations: 1.259 MB / 1.152 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.8632, allocations: 291.1 kB / 1.153 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8632, allocations: 4.062 kB / 1.153 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.8635, allocations: 151.8 kB / 1.153 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.8647, allocations: 218.7 kB / 1.153 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.8699, allocations: 4.03 MB / 1.157 GB, free: 15.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.8704, allocations: 0.8274 MB / 1.158 GB, free: 14.33 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.8707, allocations: 99.41 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.8709, allocations: 139.4 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.8709, allocations: 0 / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.8948, allocations: 10.93 MB / 1.169 GB, free: 3.406 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.895, allocations: 254.8 kB / 1.169 GB, free: 3.148 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/3.136, allocations: 0 / 1.169 GB, free: 3.148 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