Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007647/0.0007647, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8605/0.8605, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.767/1.767, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.374e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5814/0.5814, allocations: 196.5 MB / 1.192 GB, free: 7.035 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.5955, allocations: 12.79 MB / 1.204 GB, free: 14.37 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.5976, allocations: 93.38 kB / 1.204 GB, free: 14.32 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.5991, allocations: 0.7906 MB / 1.205 GB, free: 13.85 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.6033, allocations: 2.291 MB / 1.207 GB, free: 12.58 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.6056, allocations: 1.248 MB / 1.208 GB, free: 11.94 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.003548/0.6091, allocations: 2.916 MB / 1.211 GB, free: 10.51 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.6102, allocations: 0.8668 MB / 1.212 GB, free: 9.887 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005749/0.6159, allocations: 3.027 MB / 1.215 GB, free: 7.93 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.6177, allocations: 0.9356 MB / 1.216 GB, free: 7.445 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.6179, allocations: 99.25 kB / 1.216 GB, free: 7.445 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.6202, allocations: 1.315 MB / 1.217 GB, free: 6.75 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.6206, allocations: 476.6 kB / 1.218 GB, free: 6.418 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.6211, allocations: 468.1 kB / 1.218 GB, free: 6.199 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.6236, allocations: 2.084 MB / 1.22 GB, free: 4.891 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6236, allocations: 2.531 kB / 1.22 GB, free: 4.891 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6236, allocations: 0 / 1.22 GB, free: 4.891 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.6236, allocations: 0 / 1.22 GB, free: 4.891 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.001647/0.6252, allocations: 1.581 MB / 1.222 GB, free: 3.688 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6253, allocations: 12 kB / 1.222 GB, free: 3.688 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.6254, allocations: 139.1 kB / 1.222 GB, free: 3.574 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6266, allocations: 437.6 kB / 1.222 GB, free: 3.375 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6276, allocations: 0.8661 MB / 1.223 GB, free: 2.73 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.6277, allocations: 67.19 kB / 1.223 GB, free: 2.703 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.6277, allocations: 95.22 kB / 1.223 GB, free: 2.668 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.629, allocations: 1.309 MB / 1.225 GB, free: 1.688 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.629, allocations: 6.5 kB / 1.225 GB, free: 1.684 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.6291, allocations: 38.69 kB / 1.225 GB, free: 1.656 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.6291, allocations: 34.92 kB / 1.225 GB, free: 1.652 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.6302, allocations: 0.8839 MB / 1.226 GB, free: 1.219 MB / 1.057 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.003882/0.6341, allocations: 5.354 MB / 1.231 GB, free: 12.62 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.6344, allocations: 250.3 kB / 1.231 GB, free: 12.4 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.6345, allocations: 144.4 kB / 1.231 GB, free: 12.3 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.657e-05/0.6346, allocations: 24.48 kB / 1.231 GB, free: 12.29 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.6346, allocations: 45.55 kB / 1.231 GB, free: 12.24 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004532/0.6351, allocations: 136.1 kB / 1.231 GB, free: 12.17 MB / 1.073 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.6351, allocations: 0 / 1.231 GB, free: 12.17 MB / 1.073 GB Notification: Performance of matching and sorting (n=20): time 0.0006951/0.6358, allocations: 473.4 kB / 1.232 GB, free: 11.93 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.6358, allocations: 192.9 kB / 1.232 GB, free: 11.7 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.637, allocations: 1.309 MB / 1.233 GB, free: 10.98 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.637, allocations: 28.02 kB / 1.233 GB, free: 10.95 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.6373, allocations: 0.6285 MB / 1.234 GB, free: 10.39 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.6374, allocations: 95.86 kB / 1.234 GB, free: 10.32 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.6375, allocations: 137.5 kB / 1.234 GB, free: 10.23 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.6376, allocations: 331.7 kB / 1.234 GB, free: 9.906 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.6379, allocations: 236.6 kB / 1.235 GB, free: 9.801 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.6385, allocations: 0.7368 MB / 1.235 GB, free: 9.039 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.6391, allocations: 0.6913 MB / 1.236 GB, free: 8.438 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6391, allocations: 2.625 kB / 1.236 GB, free: 8.438 MB / 1.073 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001071/0.6401, allocations: 0.8639 MB / 1.237 GB, free: 7.996 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6402, allocations: 7.531 kB / 1.237 GB, free: 7.996 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.6402, allocations: 15.19 kB / 1.237 GB, free: 7.992 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6402, allocations: 13.41 kB / 1.237 GB, free: 7.992 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.6405, allocations: 170.1 kB / 1.237 GB, free: 7.945 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.6406, allocations: 17.38 kB / 1.237 GB, free: 7.941 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.6412, allocations: 131.4 kB / 1.237 GB, free: 7.891 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.6413, allocations: 37.8 kB / 1.237 GB, free: 7.883 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0003082/0.6416, allocations: 302.7 kB / 1.238 GB, free: 7.586 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.6417, allocations: 131.2 kB / 1.238 GB, free: 7.457 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.6421, allocations: 280.3 kB / 1.238 GB, free: 7.176 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.6421, allocations: 7.938 kB / 1.238 GB, free: 7.168 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6421, allocations: 2.375 kB / 1.238 GB, free: 7.168 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6421, allocations: 4 kB / 1.238 GB, free: 7.164 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6436, allocations: 1.548 MB / 1.24 GB, free: 5.52 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.6436, allocations: 0 / 1.24 GB, free: 5.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6437, allocations: 39.92 kB / 1.24 GB, free: 5.48 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6437, allocations: 4 kB / 1.24 GB, free: 5.477 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6437, allocations: 8 kB / 1.24 GB, free: 5.469 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6437, allocations: 4 kB / 1.24 GB, free: 5.465 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6437, allocations: 8.312 kB / 1.24 GB, free: 5.457 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.6441, allocations: 0.4955 MB / 1.24 GB, free: 4.906 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.6443, allocations: 159.1 kB / 1.24 GB, free: 4.75 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.6444, allocations: 8 kB / 1.24 GB, free: 4.742 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.6448, allocations: 51.94 kB / 1.24 GB, free: 4.691 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.6448, allocations: 19.92 kB / 1.24 GB, free: 4.672 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.6448, allocations: 15.92 kB / 1.24 GB, free: 4.656 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0009008/0.6457, allocations: 0.9041 MB / 1.241 GB, free: 3.75 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6457, allocations: 0 / 1.241 GB, free: 3.75 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008727/0.6466, allocations: 287.5 kB / 1.241 GB, free: 3.469 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (20): * Single equations (assignments): 20 * 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.0007551/0.6473, allocations: 1.119 MB / 1.243 GB, free: 2.293 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.6479, allocations: 449.4 kB / 1.243 GB, free: 1.855 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6479, allocations: 0 / 1.243 GB, free: 1.855 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.648, allocations: 95.81 kB / 1.243 GB, free: 1.762 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6494, allocations: 0.5784 MB / 1.244 GB, free: 1.195 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/0.6573, allocations: 8.096 MB / 1.252 GB, free: 8.609 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.6576, allocations: 0.5197 MB / 1.252 GB, free: 8.051 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0006154/0.6583, allocations: 241.4 kB / 1.252 GB, free: 7.812 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.6586, allocations: 412.4 kB / 1.253 GB, free: 7.41 MB / 1.089 GB Notification: Performance of SimCode: time 7.72e-07/0.6586, allocations: 0 / 1.253 GB, free: 7.41 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.6999, allocations: 30.04 MB / 1.282 GB, free: 10.01 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.976, allocations: 0 / 1.282 GB, free: 10.01 MB / 1.12 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv failed! Error: Could not read variable senSpeEnt.H_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv. Warning: Get data of variable senSpeEnt.H_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.098193048499525]