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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 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.001509/0.001509, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.384/1.384, 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 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.81 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2991, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8517/1.151, allocations: 221.1 MB / 1.284 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008764/1.16, allocations: 5.725 MB / 1.29 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/1.161, allocations: 42.56 kB / 1.29 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/1.162, allocations: 0.5841 MB / 1.29 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/1.167, allocations: 1.846 MB / 1.292 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/1.17, allocations: 1.17 MB / 1.293 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003736/1.173, allocations: 2.953 MB / 1.296 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/1.175, allocations: 1.039 MB / 1.297 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/1.176, allocations: 1.055 MB / 1.298 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/1.178, allocations: 0.9352 MB / 1.299 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/1.178, allocations: 109.9 kB / 1.299 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/1.181, allocations: 1.431 MB / 1.301 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/1.181, allocations: 465.2 kB / 1.301 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006945/1.182, allocations: 0.6543 MB / 1.302 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/1.185, allocations: 2.114 MB / 1.304 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.185, allocations: 0 / 1.304 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.185, allocations: 1.281 kB / 1.304 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.185, allocations: 0.8438 kB / 1.304 GB, free: 4.902 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.002399/1.187, allocations: 1.505 MB / 1.305 GB, free: 20.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.187, allocations: 10.78 kB / 1.305 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/1.189, allocations: 316.2 kB / 1.305 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.19, allocations: 0.8214 MB / 1.306 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/1.19, allocations: 64.44 kB / 1.306 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.19, allocations: 85.19 kB / 1.306 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.192, allocations: 0.9195 MB / 1.307 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.192, allocations: 5.062 kB / 1.307 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/1.192, allocations: 40.73 kB / 1.307 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/1.192, allocations: 34.36 kB / 1.307 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/1.193, allocations: 0.8356 MB / 1.308 GB, free: 19.66 MB / 1.014 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.005037/1.199, allocations: 3.542 MB / 1.312 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/1.199, allocations: 0.494 MB / 1.312 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/1.2, allocations: 296.8 kB / 1.312 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/1.2, allocations: 104.3 kB / 1.313 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.2, allocations: 43.22 kB / 1.313 GB, free: 18.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.175e-06/1.2, allocations: 0 / 1.313 GB, free: 18.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.003671/1.204, allocations: 1.874 MB / 1.314 GB, free: 17.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.204, allocations: 60.67 kB / 1.314 GB, free: 17.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/1.205, allocations: 0.8073 MB / 1.315 GB, free: 17.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/1.205, allocations: 36.92 kB / 1.315 GB, free: 17.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/1.205, allocations: 477.9 kB / 1.316 GB, free: 17.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.205, allocations: 176.5 kB / 1.316 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.205, allocations: 115.1 kB / 1.316 GB, free: 16.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.206, allocations: 332.1 kB / 1.316 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/1.206, allocations: 246.3 kB / 1.317 GB, free: 16.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/1.207, allocations: 385.2 kB / 1.317 GB, free: 16.48 MB / 1.014 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.0035/1.21, allocations: 1.547 MB / 1.318 GB, free: 16.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.21, allocations: 5.938 kB / 1.318 GB, free: 16.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001464/1.212, allocations: 0.7893 MB / 1.319 GB, free: 16.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.212, allocations: 5.625 kB / 1.319 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.212, allocations: 3.312 kB / 1.319 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/1.212, allocations: 68.42 kB / 1.319 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/1.212, allocations: 151.3 kB / 1.319 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/1.215, allocations: 3.124 MB / 1.323 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/1.216, allocations: 28.12 kB / 1.323 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/1.216, allocations: 24.41 kB / 1.323 GB, free: 13.44 MB / 1.014 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.0005187/1.216, allocations: 309.2 kB / 1.323 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.217, allocations: 89.69 kB / 1.323 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/1.217, allocations: 104.1 kB / 1.323 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.217, allocations: 9.609 kB / 1.323 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.217, allocations: 1.125 kB / 1.323 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/1.218, allocations: 0.8305 MB / 1.324 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/1.221, allocations: 1.805 MB / 1.326 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.221, allocations: 4.719 kB / 1.326 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/1.221, allocations: 132.5 kB / 1.326 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.972e-05/1.221, allocations: 45.72 kB / 1.326 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.221, allocations: 14.38 kB / 1.326 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.222, allocations: 1.596 MB / 1.327 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.222, allocations: 7.312 kB / 1.327 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.224, allocations: 1.067 MB / 1.328 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/1.224, allocations: 244.5 kB / 1.329 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.224, allocations: 11.72 kB / 1.329 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/1.225, allocations: 35.61 kB / 1.329 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.225, allocations: 43.83 kB / 1.329 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/1.225, allocations: 30.3 kB / 1.329 GB, free: 10.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006415/1.226, allocations: 0.5604 MB / 1.329 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.226, allocations: 0 / 1.329 GB, free: 10.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008771/1.227, allocations: 275.9 kB / 1.33 GB, free: 10.45 MB / 1.014 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.0004008/1.227, allocations: 190.9 kB / 1.33 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.229, allocations: 0.8617 MB / 1.331 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.229, allocations: 3.25 kB / 1.331 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/1.229, allocations: 419 kB / 1.331 GB, free: 10 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.232, allocations: 0.5934 MB / 1.332 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/1.234, allocations: 1.831 MB / 1.333 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/1.235, allocations: 1.09 MB / 1.334 GB, free: 8.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008557/1.236, allocations: 220.7 kB / 1.335 GB, free: 8.281 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/1.236, allocations: 66.09 kB / 1.335 GB, free: 8.273 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.236, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.014 GB Notification: Performance of Templates: time 0.02871/1.265, allocations: 20.03 MB / 1.354 GB, free: 3.027 MB / 1.014 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