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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001701/0.001701, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002078/0.002078, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.7 MB / 0.7449 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 68.31 kB / 0.9116 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9528/1.324, allocations: 218.3 MB / 1.281 GB, free: 20.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009129/1.333, allocations: 5.686 MB / 1.287 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/1.335, allocations: 36.12 kB / 1.287 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/1.336, allocations: 0.5148 MB / 1.287 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005253/1.342, allocations: 1.734 MB / 1.289 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/1.345, allocations: 1.093 MB / 1.29 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006005/1.351, allocations: 2.946 MB / 1.293 GB, free: 20.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/1.353, allocations: 1.014 MB / 1.294 GB, free: 20.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/1.356, allocations: 1.074 MB / 1.295 GB, free: 20 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/1.359, allocations: 1.008 MB / 1.296 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/1.359, allocations: 107.8 kB / 1.296 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/1.363, allocations: 1.5 MB / 1.297 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006742/1.363, allocations: 470 kB / 1.298 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.364, allocations: 0.6542 MB / 1.298 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/1.368, allocations: 2.208 MB / 1.301 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.368, allocations: 0.875 kB / 1.301 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/1.368, allocations: 0.6094 kB / 1.301 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.368, allocations: 1.938 kB / 1.301 GB, free: 19.61 MB / 0.9981 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.00239/1.37, allocations: 1.512 MB / 1.302 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.37, allocations: 9.906 kB / 1.302 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/1.372, allocations: 313.7 kB / 1.302 GB, free: 18.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.373, allocations: 0.8153 MB / 1.303 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/1.373, allocations: 67.84 kB / 1.303 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.373, allocations: 85.59 kB / 1.303 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/1.375, allocations: 0.9192 MB / 1.304 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.375, allocations: 0 / 1.304 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/1.375, allocations: 37.53 kB / 1.304 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/1.375, allocations: 31.25 kB / 1.304 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.377, allocations: 0.8377 MB / 1.305 GB, free: 18.37 MB / 0.9981 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.004745/1.381, allocations: 3.527 MB / 1.308 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/1.382, allocations: 0.4918 MB / 1.309 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/1.382, allocations: 296.2 kB / 1.309 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/1.383, allocations: 104.6 kB / 1.309 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.383, allocations: 46.67 kB / 1.309 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 1.744e-06/1.383, allocations: 0.8438 kB / 1.309 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.003481/1.386, allocations: 1.866 MB / 1.311 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.386, allocations: 64.38 kB / 1.311 GB, free: 16.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/1.387, allocations: 0.8092 MB / 1.312 GB, free: 16.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/1.387, allocations: 38.11 kB / 1.312 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/1.387, allocations: 478.5 kB / 1.313 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/1.388, allocations: 176.1 kB / 1.313 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/1.388, allocations: 116.1 kB / 1.313 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/1.388, allocations: 333.2 kB / 1.313 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/1.388, allocations: 242.5 kB / 1.313 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/1.389, allocations: 383.5 kB / 1.314 GB, free: 15.2 MB / 0.9981 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.00342/1.392, allocations: 1.542 MB / 1.315 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.392, allocations: 1.906 kB / 1.315 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001347/1.394, allocations: 0.7924 MB / 1.316 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.394, allocations: 6.156 kB / 1.316 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.394, allocations: 3.812 kB / 1.316 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/1.394, allocations: 69.38 kB / 1.316 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/1.394, allocations: 150 kB / 1.316 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/1.396, allocations: 3.133 MB / 1.319 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.397, allocations: 62.64 kB / 1.319 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/1.397, allocations: 21.06 kB / 1.319 GB, free: 12.14 MB / 0.9981 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.0004378/1.398, allocations: 308.1 kB / 1.32 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.398, allocations: 89.91 kB / 1.32 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/1.398, allocations: 102.4 kB / 1.32 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.398, allocations: 3.125 kB / 1.32 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.398, allocations: 4.719 kB / 1.32 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008131/1.399, allocations: 0.8336 MB / 1.321 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/1.401, allocations: 1.792 MB / 1.322 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.401, allocations: 5.625 kB / 1.322 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/1.402, allocations: 127.7 kB / 1.323 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/1.402, allocations: 42.12 kB / 1.323 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/1.402, allocations: 9.969 kB / 1.323 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009017/1.403, allocations: 1.598 MB / 1.324 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.403, allocations: 7.969 kB / 1.324 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/1.405, allocations: 1.08 MB / 1.325 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/1.405, allocations: 238.5 kB / 1.325 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.405, allocations: 15.31 kB / 1.325 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/1.406, allocations: 65.5 kB / 1.326 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.406, allocations: 49.55 kB / 1.326 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/1.406, allocations: 30.83 kB / 1.326 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006001/1.407, allocations: 0.563 MB / 1.326 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.407, allocations: 0 / 1.326 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008765/1.407, allocations: 281.2 kB / 1.326 GB, free: 9.16 MB / 0.9981 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.0004222/1.408, allocations: 194.6 kB / 1.327 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001287/1.409, allocations: 0.8607 MB / 1.327 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.409, allocations: 4.062 kB / 1.327 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004805/1.41, allocations: 407.4 kB / 1.328 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.412, allocations: 0.602 MB / 1.328 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/1.415, allocations: 2.178 MB / 1.331 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/1.415, allocations: 1.086 MB / 1.332 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008331/1.416, allocations: 217.6 kB / 1.332 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.416, allocations: 72.2 kB / 1.332 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.416, allocations: 4 kB / 1.332 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of Templates: time 0.03472/1.451, allocations: 19.85 MB / 1.351 GB, free: 1.309 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","/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