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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004428/0.004428, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001042/0.001042, allocations: 192.3 kB / 16.67 MB, free: 5.984 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 71.88 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3173, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9489/1.266, allocations: 221.1 MB / 1.424 GB, free: 6.445 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0119/1.278, allocations: 5.726 MB / 1.429 GB, free: 1.785 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/1.281, allocations: 37.31 kB / 1.429 GB, free: 1.773 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/1.283, allocations: 0.5849 MB / 1.43 GB, free: 1.285 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/1.288, allocations: 1.844 MB / 1.432 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/1.291, allocations: 1.187 MB / 1.433 GB, free: 14.94 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004134/1.295, allocations: 2.964 MB / 1.436 GB, free: 13.24 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/1.297, allocations: 1.025 MB / 1.437 GB, free: 12.37 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/1.299, allocations: 1.082 MB / 1.438 GB, free: 11.28 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/1.301, allocations: 0.9498 MB / 1.439 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/1.301, allocations: 108 kB / 1.439 GB, free: 10.24 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/1.304, allocations: 1.426 MB / 1.44 GB, free: 8.809 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004611/1.305, allocations: 462.8 kB / 1.441 GB, free: 8.355 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007771/1.306, allocations: 0.6572 MB / 1.441 GB, free: 7.695 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003375/1.309, allocations: 2.127 MB / 1.443 GB, free: 5.566 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.309, allocations: 0 / 1.443 GB, free: 5.566 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.326e-06/1.309, allocations: 0 / 1.443 GB, free: 5.566 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.46e-05/1.309, allocations: 7.938 kB / 1.443 GB, free: 5.559 MB / 1.123 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.002474/1.311, allocations: 1.504 MB / 1.445 GB, free: 4.004 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.312, allocations: 8.625 kB / 1.445 GB, free: 3.996 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/1.314, allocations: 314.3 kB / 1.445 GB, free: 3.688 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.315, allocations: 0.8591 MB / 1.446 GB, free: 2.785 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/1.315, allocations: 65.98 kB / 1.446 GB, free: 2.719 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.315, allocations: 84 kB / 1.446 GB, free: 2.637 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/1.317, allocations: 0.9209 MB / 1.447 GB, free: 1.711 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.317, allocations: 3.938 kB / 1.447 GB, free: 1.707 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/1.317, allocations: 36.88 kB / 1.447 GB, free: 1.672 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/1.317, allocations: 34 kB / 1.447 GB, free: 1.641 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.318, allocations: 0.8353 MB / 1.448 GB, free: 0.8008 MB / 1.123 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.005523/1.324, allocations: 3.505 MB / 1.451 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/1.325, allocations: 0.4892 MB / 1.452 GB, free: 12.58 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/1.325, allocations: 294.8 kB / 1.452 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.325, allocations: 97.53 kB / 1.452 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/1.326, allocations: 48.06 kB / 1.452 GB, free: 12.12 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 4.088e-06/1.326, allocations: 7.938 kB / 1.452 GB, free: 12.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.003754/1.329, allocations: 1.876 MB / 1.454 GB, free: 10.14 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/1.329, allocations: 55.84 kB / 1.454 GB, free: 10.07 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000988/1.33, allocations: 0.8097 MB / 1.455 GB, free: 9.258 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/1.33, allocations: 41.7 kB / 1.455 GB, free: 9.211 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/1.331, allocations: 479.2 kB / 1.455 GB, free: 8.734 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/1.331, allocations: 173.6 kB / 1.456 GB, free: 8.562 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/1.331, allocations: 114.2 kB / 1.456 GB, free: 8.445 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.331, allocations: 338 kB / 1.456 GB, free: 8.109 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/1.332, allocations: 241.2 kB / 1.456 GB, free: 7.875 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/1.332, allocations: 388.6 kB / 1.457 GB, free: 7.445 MB / 1.139 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.003618/1.336, allocations: 1.532 MB / 1.458 GB, free: 5.852 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.336, allocations: 0 / 1.458 GB, free: 5.852 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001378/1.337, allocations: 0.7964 MB / 1.459 GB, free: 5.043 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.337, allocations: 4 kB / 1.459 GB, free: 5.039 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.337, allocations: 4 kB / 1.459 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/1.338, allocations: 65.67 kB / 1.459 GB, free: 4.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/1.338, allocations: 155.8 kB / 1.459 GB, free: 4.812 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/1.341, allocations: 3.121 MB / 1.462 GB, free: 1.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/1.342, allocations: 28.14 kB / 1.462 GB, free: 1.383 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/1.342, allocations: 24 kB / 1.462 GB, free: 1.359 MB / 1.139 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005663/1.342, allocations: 305.5 kB / 1.462 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.343, allocations: 94.88 kB / 1.463 GB, free: 0.957 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/1.343, allocations: 100.7 kB / 1.463 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.343, allocations: 4 kB / 1.463 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.343, allocations: 3.938 kB / 1.463 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/1.344, allocations: 0.8427 MB / 1.464 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/1.347, allocations: 1.783 MB / 1.465 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.347, allocations: 8.062 kB / 1.465 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/1.348, allocations: 131.8 kB / 1.465 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/1.348, allocations: 40.83 kB / 1.465 GB, free: 13.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/1.348, allocations: 16 kB / 1.465 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.349, allocations: 1.598 MB / 1.467 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.35, allocations: 11.88 kB / 1.467 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/1.351, allocations: 1.065 MB / 1.468 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/1.352, allocations: 232 kB / 1.468 GB, free: 10.72 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.352, allocations: 12 kB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/1.353, allocations: 39.97 kB / 1.468 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.353, allocations: 43.89 kB / 1.468 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/1.353, allocations: 27.98 kB / 1.468 GB, free: 10.6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008219/1.354, allocations: 0.5537 MB / 1.469 GB, free: 10.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.4e-07/1.354, allocations: 3.938 kB / 1.469 GB, free: 10.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009977/1.355, allocations: 280 kB / 1.469 GB, free: 9.77 MB / 1.154 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000506/1.355, allocations: 192.1 kB / 1.469 GB, free: 9.582 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001413/1.357, allocations: 0.8076 MB / 1.47 GB, free: 8.75 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.357, allocations: 4 kB / 1.47 GB, free: 8.746 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/1.357, allocations: 415.8 kB / 1.471 GB, free: 8.328 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.36, allocations: 0.5976 MB / 1.471 GB, free: 7.746 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/1.363, allocations: 1.811 MB / 1.473 GB, free: 5.867 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/1.364, allocations: 1.088 MB / 1.474 GB, free: 4.75 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008825/1.365, allocations: 211.7 kB / 1.474 GB, free: 4.539 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.365, allocations: 67.42 kB / 1.474 GB, free: 4.473 MB / 1.154 GB Notification: Performance of SimCode: time 4.3e-07/1.365, allocations: 0 / 1.474 GB, free: 4.473 MB / 1.154 GB Notification: Performance of Templates: time 0.03774/1.403, allocations: 20.19 MB / 1.494 GB, free: 0.5469 MB / 1.17 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches