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.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 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.001676/0.001676, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.342/2.342, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6388, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1848/0.8236, allocations: 179.4 MB / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009756/0.8334, allocations: 7.823 MB / 1.133 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007474/0.8342, allocations: 19.88 kB / 1.133 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.8352, allocations: 250.2 kB / 1.133 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.8386, allocations: 1.225 MB / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.8408, allocations: 0.7285 MB / 1.135 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.8422, allocations: 1.072 MB / 1.136 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.8431, allocations: 409.4 kB / 1.136 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.8459, allocations: 0.8238 MB / 1.137 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008588/0.8468, allocations: 434.5 kB / 1.137 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.8469, allocations: 36 kB / 1.137 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.8488, allocations: 0.947 MB / 1.138 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.8491, allocations: 159.7 kB / 1.138 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.8495, allocations: 246.8 kB / 1.139 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.8514, allocations: 0.927 MB / 1.14 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8515, allocations: 4 kB / 1.14 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8515, allocations: 0 / 1.14 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.8515, allocations: 0 / 1.14 GB, free: 14.72 MB / 0.9044 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.001318/0.8528, allocations: 0.7987 MB / 1.14 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8529, allocations: 8.031 kB / 1.14 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.714e-05/0.853, allocations: 82.45 kB / 1.14 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.854, allocations: 147.3 kB / 1.141 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.8546, allocations: 387.2 kB / 1.141 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.8546, allocations: 32.98 kB / 1.141 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.8547, allocations: 40 kB / 1.141 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.8554, allocations: 446.4 kB / 1.142 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8554, allocations: 0 / 1.142 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.8555, allocations: 19.94 kB / 1.142 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.8555, allocations: 8 kB / 1.142 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.8561, allocations: 319.8 kB / 1.142 GB, free: 12.34 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.002155/0.8583, allocations: 2.023 MB / 1.144 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.8587, allocations: 243.9 kB / 1.144 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.8589, allocations: 145.2 kB / 1.144 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.8595, allocations: 315.1 kB / 1.144 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.8596, allocations: 38.56 kB / 1.145 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.8596, allocations: 0 / 1.145 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001034/0.8606, allocations: 458.4 kB / 1.145 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.8607, allocations: 55.41 kB / 1.145 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.8611, allocations: 397.9 kB / 1.145 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.8611, allocations: 29.7 kB / 1.145 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.8613, allocations: 232.2 kB / 1.146 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.8613, allocations: 74.83 kB / 1.146 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.8615, allocations: 65.69 kB / 1.146 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8616, allocations: 350.7 kB / 1.146 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.8618, allocations: 107.9 kB / 1.146 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.8621, allocations: 183.3 kB / 1.146 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.8626, allocations: 312.2 kB / 1.147 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.8626, allocations: 0 / 1.147 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000642/0.8633, allocations: 361.6 kB / 1.147 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.8633, allocations: 4 kB / 1.147 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8633, allocations: 4 kB / 1.147 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.8633, allocations: 8.219 kB / 1.147 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.8636, allocations: 59.84 kB / 1.147 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8636, allocations: 4 kB / 1.147 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.8639, allocations: 47.52 kB / 1.147 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.8639, allocations: 12 kB / 1.147 GB, free: 6.531 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.0001727/0.8641, allocations: 169.7 kB / 1.147 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.8642, allocations: 39.53 kB / 1.147 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.8649, allocations: 374 kB / 1.148 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8649, allocations: 0 / 1.148 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.8649, allocations: 0 / 1.148 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8649, allocations: 0 / 1.148 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.8663, allocations: 0.9409 MB / 1.149 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.8663, allocations: 0 / 1.149 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.8666, allocations: 47.91 kB / 1.149 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8666, allocations: 7.938 kB / 1.149 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.8666, allocations: 12.22 kB / 1.149 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.8667, allocations: 4 kB / 1.149 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8667, allocations: 0 / 1.149 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.8676, allocations: 0.6306 MB / 1.149 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.8677, allocations: 152.5 kB / 1.149 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.8678, allocations: 11.98 kB / 1.149 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.868, allocations: 12 kB / 1.149 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.8681, allocations: 23.97 kB / 1.15 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.8681, allocations: 12 kB / 1.15 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002842/0.8684, allocations: 283.1 kB / 1.15 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8684, allocations: 0 / 1.15 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004489/0.8689, allocations: 103.8 kB / 1.15 GB, free: 3.582 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.001454/0.8703, allocations: 1.254 MB / 1.151 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006035/0.871, allocations: 295.6 kB / 1.151 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.871, allocations: 4.438 kB / 1.151 GB, free: 2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.8712, allocations: 153.3 kB / 1.152 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.8723, allocations: 220.2 kB / 1.152 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.8772, allocations: 3.848 MB / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.8776, allocations: 0.8272 MB / 1.156 GB, free: 12.78 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004137/0.8781, allocations: 99.36 kB / 1.156 GB, free: 12.68 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.8783, allocations: 139.4 kB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/0.8783, allocations: 0 / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06/0.9383, allocations: 11.58 MB / 1.168 GB, free: 1.18 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.741/10.68, allocations: 15.25 kB / 1.168 GB, free: 1.172 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