Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001428/0.001428, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 436.5 MB / 0.7104 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6006/0.601, allocations: 153.7 MB / 1.021 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1943/0.7952, allocations: 182.1 MB / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008897/0.8042, allocations: 5.659 MB / 1.204 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.8053, allocations: 27.81 kB / 1.204 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.8068, allocations: 0.5754 MB / 1.205 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.8111, allocations: 1.671 MB / 1.206 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.8144, allocations: 1.182 MB / 1.208 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.8172, allocations: 1.699 MB / 1.209 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.8182, allocations: 0.727 MB / 1.21 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.8195, allocations: 0.7864 MB / 1.211 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.8204, allocations: 0.5759 MB / 1.211 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.8205, allocations: 44 kB / 1.211 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.8222, allocations: 0.6162 MB / 1.212 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.8226, allocations: 355 kB / 1.212 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.8229, allocations: 261.1 kB / 1.212 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.8248, allocations: 1.387 MB / 1.214 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8248, allocations: 0 / 1.214 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8248, allocations: 0 / 1.214 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.8248, allocations: 0 / 1.214 GB, free: 10.92 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002233/0.8271, allocations: 1.258 MB / 1.215 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8271, allocations: 15.98 kB / 1.215 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.8292, allocations: 322.2 kB / 1.215 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.8306, allocations: 0.7934 MB / 1.216 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.8307, allocations: 62 kB / 1.216 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.8308, allocations: 87.94 kB / 1.216 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.8325, allocations: 0.9131 MB / 1.217 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.8325, allocations: 0 / 1.217 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.8326, allocations: 36 kB / 1.217 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.8326, allocations: 38 kB / 1.217 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.8341, allocations: 0.8354 MB / 1.218 GB, free: 6.465 MB / 0.9669 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.005529/0.8396, allocations: 3.544 MB / 1.222 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.8404, allocations: 494.6 kB / 1.222 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.8405, allocations: 16.42 kB / 1.222 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.8405, allocations: 42.95 kB / 1.222 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.8406, allocations: 0 / 1.222 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.003605/0.8442, allocations: 1.892 MB / 1.224 GB, free: 152 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.8442, allocations: 63.83 kB / 1.224 GB, free: 76 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.8452, allocations: 0.8018 MB / 1.225 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.8452, allocations: 41.7 kB / 1.225 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.8456, allocations: 475.3 kB / 1.225 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.8457, allocations: 173.5 kB / 1.225 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.8458, allocations: 12 kB / 1.225 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8459, allocations: 330 kB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.8463, allocations: 257 kB / 1.226 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.8469, allocations: 376.7 kB / 1.226 GB, free: 13.57 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.8497, allocations: 1.014 MB / 1.227 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8497, allocations: 0 / 1.227 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001333/0.8511, allocations: 0.8004 MB / 1.228 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8511, allocations: 12 kB / 1.228 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.8511, allocations: 4 kB / 1.228 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.8513, allocations: 65.67 kB / 1.228 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.852, allocations: 163.8 kB / 1.228 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.8543, allocations: 2.908 MB / 1.231 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.8553, allocations: 72 kB / 1.231 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.8554, allocations: 23.98 kB / 1.231 GB, free: 8.211 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.8558, allocations: 307.5 kB / 1.232 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.856, allocations: 94.88 kB / 1.232 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.8562, allocations: 100.7 kB / 1.232 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.8562, allocations: 4 kB / 1.232 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8562, allocations: 0 / 1.232 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.8572, allocations: 0.8505 MB / 1.233 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.8602, allocations: 1.802 MB / 1.234 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.8603, allocations: 4 kB / 1.234 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.8609, allocations: 148.2 kB / 1.235 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.613e-05/0.861, allocations: 36.84 kB / 1.235 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.8611, allocations: 12 kB / 1.235 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.8622, allocations: 1.499 MB / 1.236 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8623, allocations: 4 kB / 1.236 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.8639, allocations: 1.231 MB / 1.237 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.8643, allocations: 236 kB / 1.237 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.8644, allocations: 20.06 kB / 1.237 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.8652, allocations: 63.84 kB / 1.238 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.8653, allocations: 47.83 kB / 1.238 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.8654, allocations: 23.98 kB / 1.238 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007397/0.8662, allocations: 0.5537 MB / 1.238 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8662, allocations: 3.938 kB / 1.238 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008714/0.867, allocations: 288 kB / 1.238 GB, free: 432 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004357/0.8675, allocations: 192.5 kB / 1.239 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.8688, allocations: 0.8052 MB / 1.239 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8688, allocations: 4 kB / 1.239 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.8694, allocations: 410.5 kB / 1.24 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.8718, allocations: 0.5652 MB / 1.24 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.8746, allocations: 2.159 MB / 1.242 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.8752, allocations: 1.107 MB / 1.244 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008128/0.876, allocations: 219.7 kB / 1.244 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.8762, allocations: 63.44 kB / 1.244 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.8762, allocations: 0 / 1.244 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.4882/1.364, allocations: 18.38 MB / 1.262 GB, free: 227.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches